No More Solutions

You can find a lot of debugging and deploying problems while developing applications in .NET and Visual Basic here. There are also some querying tips in SQL and typical source codes which might be useful shared here.

Error while trying to debug VB.NET desktop application

Error while trying to run project: Could not load file or assembly "AssemblyName" or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)

This error appears as a dialog box while trying to debug an application.

1. Check if the assembly name used for the project contains ' (apostrophe). If it does, go change it, and do not use ' (apostrophe)
2. Check if the name "Program" (without quotes) is used as the assembly name. If it is, go change the name.
3. If still, it does not work, right-click on the Project -> Properties -> Choose tab Debug -> Uncheck the option "Enable the Visual Studio Hosting Process"

Bookmark and Share


  1. Apple App Tips said...

    Great article. Like it.

  2. Anonymous said...

    Thanks. *shakes fist at his apostrophe*

  3. Steven Luck said...

    Nice to hear it helps ^^

  4. Anonymous said...


  5. Steven Luck said...

    You are welcome ;)

  6. Anonymous said...

    It worked! Thanks!

  7. Steven Luck said...

    Yeah, almost all the times does it work :D

Post a Comment