Visual Studio 2008 - .NET 2.0 targeted application won't run in XP (mscorwks.dll could not be loaded

Posted by Alan Spark on Stack Overflow See other posts from Stack Overflow or by Alan Spark
Published on 2010-03-12T09:53:10Z Indexed on 2010/03/12 9:57 UTC
Read the original article Hit count: 123

I have a .NET 2.0 targeted C# windows forms application that is running fine on XP when .NET 3.5 is installed. However, when .NET 2.0 only is installed I get the error:

"WindowsFormsApplication1.exe - .NET Framework Initialization Error" - "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\mscorwks.dll could not be loaded"

I have tried this with a basic default windows forms application and encounter this error on XP SP1, SP2 and SP3 with .NET 2.0 installed.

Could there be some other step that I am missing?

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about c#