TFS上的节点构建问题

时间:2015-07-09 01:40:55

标签: node.js tfs msbuild tfsbuild msdeploy

TFS构建适用于除Visual Studio项目节点之外的所有项目。

我收到此错误:

$/IT/my-home.njsproj - 1 error(s), 0 warning(s), View Log File
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets (132): Could not copy the file "obj\Debug\my-home.exe" because it was not found.

我尝试在目标文件中执行以下操作:

<Disable_CopyWebApplication Condition="'$(Disable_CopyWebApplication)' == ''">True</Disable_CopyWebApplication>

1 个答案:

答案 0 :(得分:1)

我刚刚遇到过这个问题。将其添加到构建参数: /p:Disable_CopyWebApplication=True

Build config