Visual Studio无法编译C ++项目

时间:2016-07-20 03:10:26

标签: visual-studio visual-c++ ie-plugins

该项目是一个IE插件,可以在某些计算机上编译,但不是我的。

在我的计算机上,Visual Studio 2015 Professional,重建项目时出现此错误:

Severity    Code    Description Project File    Line    Suppression State
Error   TRK0002 Failed to execute command: ""C:\Program Files\Microsoft Visual Studio 14.0\VC\bin\link.exe" /ERRORREPORT:PROMPT @C:\Users\td\AppData\Local\Temp\tmpa3439d68e5a945d29fbebe677944beda.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.  IE.Plugin   C:\IE.Plugin\TRACKER    1   

Windows事件查看器显示此日志消息:

Log Name:      Application
Source:        SideBySide
Date:          7/19/2016 9:56:55 PM
Event ID:      59
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      ...
Description:
Activation context generation failed for "C:\Program Files\Microsoft Visual Studio 14.0\VC\bin\link.exe".Error in manifest or policy file "C:\Program Files\Microsoft Visual Studio 14.0\VC\bin\link.exe.Config" on line 0. Invalid Xml syntax.

请帮忙。

1 个答案:

答案 0 :(得分:0)

文件"C:\Program Files\Microsoft Visual Studio 14.0\VC\bin\link.exe.Config"以某种方式损坏了。

删除文件可让Visual Studio构建我的项目而不会出现任何错误。