Error_TRK0002_Failed执行命令:"" C:\Program Files(x86)\ Microsoft Visual Studio 14.0\VC \bin\CL.exe" [英] Error_TRK0002_Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe"

查看:986
本文介绍了Error_TRK0002_Failed执行命令:"" C:\Program Files(x86)\ Microsoft Visual Studio 14.0\VC \bin\CL.exe"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将Visual Studio Community Edition 2015更新到Update 3后,我尝试创建一个简单的win32控制台应用程序项目并尝试构建它。我收到此错误。


错误 TRK0002
执行命令失败:"" C:\ Program Files(x86)\ Microsoft Visual Studio 14.0\VC \bin\CL.exe" @C:\Users\vr\AppData\Local\Temp\tmpd6f765b950744873b8c7a855d0e165af.rsp" ;.应用程序无法启动,因为它的并排
配置不正确。请参阅应用程序事件日志或使用命令行sxstrace.exe工具获取更多详细信息。


我用Google搜索并且没有帮助 

解决方案

嗨Nithin VR,


感谢您在这里发帖。


>>  ;应用程序无法启动,因为它的并排配置不正确。请参阅应用程序事件日志或使用命令行sxstrace.exe工具获取更多详细信息。


对于这种情况,我建议您下载并安装Microsoft Visual C ++ 2015 Redistributable更新3.


https:// www。 microsoft.com/en-us/download/details.aspx?id=53587


要运行sxstrace.exe,请转到Visual Studio命令提示符并键入sxstrace.exe 。


用法如下:

1.在运行应用程序之前,在跟踪模式下运行sxstrace:


< pre class ="prettyprint"> sxstrace.exe Trace -logfile:C:\ MySxSTrace.log

2.通过启动应用程序重新生成错误


3.现在使用以下命令停止跟踪

 sxstrace.exe Parse -logfile:C:\ MySxSTrace.log -outfile:C :\ MySxSTrace.txt 

有关详细信息,请参阅此博客。


https://blogs.msdn.microsoft.com/cesardelatorre/2011/03/27/the-application-has-failed-to-start-因为它的并排配置错误与错误相关的mmc-exe程序和奇怪的原因简单解决方案/


如果它仍然不起作用,pl轻松尝试重新安装
vs2015 update3


希望这可以帮助你。


最好的问候,


Sera Yu




After updating my Visual Studio Community Edition 2015 to Update 3 , I tried to create a simple win32 console application project and tried building it. I am getting this error.

Error TRK0002 Failed to execute command: ""C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\CL.exe" @C:\Users\vr\AppData\Local\Temp\tmpd6f765b950744873b8c7a855d0e165af.rsp". The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

I googled and no help 

解决方案

Hi Nithin VR,

thanks for posting here.

>> The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

For this case, I suggest you download and install Microsoft Visual C++ 2015 Redistributable Update 3.

https://www.microsoft.com/en-us/download/details.aspx?id=53587

For running sxstrace.exe, please go to Visual Studio command prompt and type sxstrace.exe.

Usage is as follows:
1.Before running your application, run sxstrace in trace mode:

 sxstrace.exe Trace -logfile:C:\MySxSTrace.log

2.Reproduce the error by starting your application

3.Now stop the trace by using the below command

 sxstrace.exe Parse -logfile:C:\MySxSTrace.log -outfile:C:\MySxSTrace.txt

For more information, please refer to this blog.

https://blogs.msdn.microsoft.com/cesardelatorre/2011/03/27/the-application-has-failed-to-start-because-its-side-by-side-configuration-is-incorrect-error-related-to-mmc-exe-programs-and-weird-cause-simple-solution/

If it still not work, please try to reinstall your vs2015 update3.

Hope this could be help of you.

Best Regards,

Sera Yu


这篇关于Error_TRK0002_Failed执行命令:&quot;&quot; C:\Program Files(x86)\ Microsoft Visual Studio 14.0\VC \bin\CL.exe&quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆