TypeInitialization Exception

  • Thread starter Thread starter Dino M. Buljubasic
  • Start date Start date
D

Dino M. Buljubasic

Hi,
I am receiving an exception each time I open one of my projects in VB.net.
I do not have to run it, I just open the project and a Message box pops up
with the message:

TypeInitializationException: The type initializer for "MyProjectName.Module"
threw an exception.

This message box reopens each time I close it, so the only way to get rid of
it is to go to task manager and End Visual Studio.NeT.

I have noticed that when I remove my "bin" and "obj" folders before opening
the project, everything works fine.

Any help will be appreciated,

Dino
 
Back
Top