Wednesday, July 10, 2013

visual c++ package: failed to load ?????

After the window update, the visual studio can not open any project and the error message showed "'visual c++ package': failed to load ".
After search google and found the solution:

1. click the TOOLS--->VISUAL STUDIO COMMAND PROMPT   to open the command window
2. input the command "devenv /Setup"
3. open the visual studio 2012 again, it will works.



30 comments:

  1. Thanks Ivy , it really helped me.

    ReplyDelete
  2. Many Many Thanks!
    Note: Since it's Setting up in the background it takes ~5 minutes

    ReplyDelete
  3. That doesn't seem to be where it is in VS 2012

    So search your computer for:
    Developer Command Prompt for VS2012

    Mine was located:
    C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\VsDevCmd.ba

    ReplyDelete
  4. I tried about 10 suggestions on Stack Overflow that didn't work until someone pointed to this one and it did work. Thank you!

    ReplyDelete
  5. This saved my life, thank you so much.

    ReplyDelete
  6. Thank you, it is interesting if MS Visual Studio development team knows about this. Very annoying when you buy something new and it stops to operate after a week or so

    ReplyDelete
  7. Close Visual Studio.
    Open a Developer Command Prompt for VS 2012 (as administrator).
    Type devenv /setup.
    Restart Visual Studio.

    ReplyDelete
  8. it's not working ...
    command prompt is showing that devenv is not recognize as an internal or external command

    ReplyDelete
  9. It worked. I searched my computer using start menu for vs2012, clicked developer command prompt for vs2012 and typed 'devenv /setup', restart VS2012 and it worked!

    ReplyDelete
  10. Thanks Ivy it really helped ,you are a saviour

    ReplyDelete
  11. This comment has been removed by the author.

    ReplyDelete
  12. Tried it. Computer's reply:

    "The operation could not be completed. Access is denied"

    I am the only user on my machine, and I am the admin.

    ReplyDelete
  13. i click on the VsDevCmd , and a command prompt window pop out for 1 second and close, everytime like that!! why ? TTuTT

    ReplyDelete
  14. Thank you Ivy! This actually worked with VS2015 as well. I was having similar issues with VisualBasicPackage and the CSharpPackage not loading so I thought I would try this.

    ReplyDelete
  15. Great worked for me with VS2015

    ReplyDelete
  16. Thank a lot it solved that problem

    visual studio is working fine but still getting some messages like some package is not loaded correctly

    anyone can help??

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. It didn't worked here, but thanks anyway Ivy

    ReplyDelete