ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to find TF.exe and it was not defined in Executable Parameter

Added by Angela Calborean 5 months ago

How to fix this:

ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to find TF.exe and it was not defined in Executable Parameter
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.ReadTfFromRegistry()
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.get_Executable()
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.NewProcessInfo(PrivateArguments args, IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.ProjectExists(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModificationsWithLogging(ISourceControl sc, IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.QuietPeriod.GetModifications(ISourceControl sourceControl, IIntegrationResult lastBuild, IIntegrationResult thisBuild)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.GetModifications(IIntegrationResult from, IIntegrationResult to)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)

This is my machine:
- Win Server 2016
- Microsoft Visual Studio 2015 Shell (Isolated)
- Microsoft Visual Studio Express 2015 for WIndows Desktop
- Microsoft Visual Studio Team Foundation Server 2015 Power Tools

I have tf.exe, here: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and added to PATH variable.

But it seems that ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.ReadTfFromRegistry() fails.
What am I missing?


Replies (1)

RE: ThoughtWorks.CruiseControl.Core.CruiseControlException: Unable to find TF.exe and it was not defined in Executable Parameter - Added by Angela Calborean 5 months ago

Hello

Ruben Willems answered me on https://groups.google.com/forum/#!forum/ccnet-user
the solution was to add this
<executable>C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\TF.exe</executable>

Regards
Angela

(1-1/1)