2016-08-31 1234 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文件,它的工作原理。