小编ges*_*ill的帖子

在 TFS 上构建想要从 Node.js 测试项目复制可执行文件

我使用 Node.js 工具为量角器测试环境创建了一个 Node.js 项目,以在团队基础服务器上测试 Web 应用程序。我可以在本地创建测试项目并使用调试器运行它。但是,TFS 上的构建不起作用。

日志:

"<PATH>\TestProject.Web.Protractor.Tests.njsproj" (13) on node 2 (default targets).
13>PrepareForBuild:
     Creating directory "obj\Debug\".
   CoreCompile:
     Creating directory "bin".
     Copying file from "C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Node.js Tools\Microsoft.NodejsTools.WebRole.dll" to "bin\Microsoft.NodejsTools.WebRole.dll".
   _CopyWebApplicationLegacy:
     Copying Web Application Project Files for TestProject.Web.Protractor.Tests
     Creating directory "<PATH>\bin\_PublishedWebsites\TestProject.Web.Protractor.Tests\bin".
13>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\WebApplications\Microsoft.WebApplication.targets(136,5): error MSB3030: Could not copy the file "obj\Debug\TestProject.Web.Protractor.Tests.exe" because it was not found. 
Run Code Online (Sandbox Code Playgroud)

testing tfs build node.js protractor

5
推荐指数
1
解决办法
409
查看次数

标签 统计

build ×1

node.js ×1

protractor ×1

testing ×1

tfs ×1