2016-08-31 528 views
4

我在尝试构建作为服务运行的buildAgent上的项目时遇到此错误,是否有人有解决方案?TRACKER:错误TRK0002:无法执行命令

TRACKER : error TRK0002: Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\CL.exe" @C:\BuildAgent\temp\buildTmp\tmpfde187c5fd8a42299ab4d18e25e0c9fe.rsp". The operation identifier is not valid. 

我试图解决在命令行建设项目时类似的问题(使用“_IsNativeEnvironment”变量),但它并没有为我工作,我也需要解决我的本地计算机上永久工作。 Windows事件查看器中的

+0

这可能会引起您的兴趣:https://connect.microsoft.com/VisualStudio/feedback/details/800753/tracker-error-trk0002-failed-to-execute-command-for-building-x64-driver -resources –

回答

0

Windows Logs\Application可能有关于此的线索。

在我的情况下,产生像

激活上下文生成一个事件失败的 “C:\ Program Files文件(x86)的\微软的Visual Studio 12.0 \ VC \ BIN \ cl.exe时” 在.Error清单或策略文件“C:\ Program Files(x86)\ Microsoft Visual Studio 12.0 \ VC \ bin \ CL.exe.Config”。无效的Xml语法。

我只是删除那.config文件,它的工作原理。