When I attempt to load my program (C# 2005 SP1) on some computers, even some with VS 2005 installed I get the following error:

The type initializer for '<Module>' threw an exception.
System.TypeInitializationException: The type initializer for '<Module>' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'msvcm80d.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E).

Any idea how I can make my program not rely on the above DLL as I know that it is a DEBUG DLL. In VS 2005 I believe that I am building in Release mode but how do I check. Assistance would be great!

Re: Visual C# General msvcm80d.dll Error!

Figo Fei - MSFT


Here is a similar problem: PostID=98365&SiteID=1

Hope it helps. Thanks