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.



20 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