且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

生成错误+为excel 2010创建VSTO加载项

更新时间:2023-12-05 20:22:40

这看起来像

This looks like a known issue sourced from MSDN forums - you just need to update your Microsoft.VisualStudio.Tools.Office.targets file to point to version 11.0.0.0 instead of version 10.0.0.0.

对于遇到此问题的用户,请转到 C:\ Program Files(x86)\ MSBuild \ Microsoft \ VisualStudio \ v10.0 \ OfficeTools ,然后打开 Microsoft.VisualStudio.Tools .Office.targets 文件.

将所有 10.0.0.0 替换为 11.0.0.0 .

For those who encounter this problem, go to C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\OfficeTools and open the Microsoft.VisualStudio.Tools.Office.targets file.

Replace all 10.0.0.0 with 11.0.0.0.