VS2012 加载工程失败PACKAGE “VISUAL C++ PACKAGE” FAILED TO LOAD

来源:互联网 发布:淘宝消保30元加入条件 编辑:程序博客网 时间:2024/05/16 07:00

加载VS2012工程时报错 PACKAGE “VISUAL C++ PACKAGE” FAILED TO LOAD

解决办法: http://roncontech.wordpress.com/2014/03/27/package-visual-c-package-failed-to-load/

以下转载


I’m using Visual Studio 2012 on my Windows 8.1 laptop.
I was working on a C project.

After updating my computer via windows update I got the following error:
package “visual c++ package” failed to load

After a bit of Googling I  came to this lovely simple fix:

  • Close Visual Studio
  • Open up the “Developer Command Prompt for VS2012″ as an Administrator
    • You’ll find this program beside your normal VS program in the start menu
    • or else here: C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\VsDevCmd.ba
  • Enter this into the command prompt: “devenv /Setup”
    • The link for the C++ package was’t updated with the update, this command sets up the links correctly
  • Wait 5 to 10 minutes
    • The command prompt isn’t stalling, just let it do its thing
  • Open Visual Studio
  • It should be working fine
0 0
原创粉丝点击