none
0xc000007b error

    Question

  • I don't know what has happened but I've suddenly started to get this error when I debug in Visual Studio.

    When I use "Start debugging" I get this error:

    "Error while trying to run project: Could not load file or assembly 'WinFormApp1' or one of its dependencies. The module expected to contain an assembly manifest."

    And when I use "Start without debugging" I get this error:

    "the application failed to initialize properly (0xc000007b)."

    I really don't know what has happened. The error "0xc000007b" is shown when I use "Start without debugging" and also for application that were debugged before this error.

    I get this error for all projects. Even if I start a new project without making a single change to the code or the designer.


    Anyone knows how to fix this?

    Thanks
    Sunday, January 03, 2010 8:44 AM

Answers

  • Hi,

     

    If you get this error for any new project, the it means something in the settings or setup got messed up.

    I would suggest 2 things: first, try to reset your settings from Tools->import and export settings -> Reset all settings-> reset all settings, overwriting current settings.

    If after that it still does not work, I would repair/re-install VS.

     

    Hope that this helps,

    Alina

    • Marked as answer by Roahn Luo Wednesday, January 06, 2010 10:45 AM
    Tuesday, January 05, 2010 11:41 PM

All replies