Unable to find TF.exe and it was not defined in Executable Parameter

104 views
Skip to first unread message

angela.c...@visma.com

unread,
Jun 21, 2017, 12:30:17 PM6/21/17
to ccnet-user
Hello

I have installed CruiseControl.NET 1.8.5.0. On the same machine there is installed VS 2015 Update 3.
In Path I have added this: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE

This is the project configuration I am using:

<project name="Mainbranch_Deploy" description="Mainbranch, deploy the latest version">
    <triggers />
    <sourcecontrol type="vsts" autoGetSource="true" applyLabel="false">
      <username>builder</username>
      <password>#1ISOctbp</password>
      <domain>XXX</domain>
      <project>$/XXX/.UserDirectory/MainBranch</project>
      <workspace>MainBranch_Deploy</workspace>
      <workingDirectory>D:\Builds\MainBranch_Deploy</workingDirectory>
      <cleanCopy>false</cleanCopy>
      <deleteWorkspace>false</deleteWorkspace>
    </sourcecontrol>
    <state type="state" />
    <tasks>
      <msbuild>
        <workingDirectory>D:\Builds\MainBranch_Deploy\XXX\YYY</workingDirectory>
        <executable>C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe</executable>
        <projectFile>TFSBuild.proj</projectFile>
        <buildArgs>/tv:14.0 /property:BuildType=%CCNetRequestSource% /p:Configuration=Release /v:n</buildArgs>
        <targets>DeployVersion</targets>
        <timeout>6000</timeout>        
        <environment>
          <variable name="ArtifactsFolder" value = "CI" />
        </environment>
      </msbuild>
    </tasks>
    <publishers>
      <xmllogger />
      <artifactcleanup cleanUpMethod="KeepLastXBuilds" cleanUpValue="50" />
    </publishers>
  </project>

When I open the CCValidator.exe, I get the attached error.
What am I missing?

Regards,
Angela

CCValidator.jpg
Reply all
Reply to author
Forward
0 new messages