0

该项目是一个 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.

请帮忙。

4

1 回答 1

1

It is the file "C:\Program Files\Microsoft Visual Studio 14.0\VC\bin\link.exe.Config" that got corrupted somehow.

Deleting the file lets Visual Studio build my project without any errors.

于 2016-07-20T04:01:19.760 回答