简体   繁体   中英

Node build issue on TFS

TFS Builds work on all all projects except the Node for Visual Studio Project.

I get this error:

$/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.

I tried to do this below in the targets file:

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

I just came across this issue. Add this to your build arguments: /p:Disable_CopyWebApplication=True

构建配置

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM