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.


  1. Thanks Ivy , it really helped me.

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

  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\

  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!

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

  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

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

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

  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!

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

  11. This comment has been removed by the author.

  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.

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

  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.

  15. 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??