Could not resolve mscorlib for target framework

Asked By 0 points N/A Posted on -
qa-featured

At first, I thought it could be an issue with framework.net, looking at the error. But later I found that it was some error with Microsoft Visual Studio 2005.

When I try to view crystal reports viewer components toolbox, for one of my project with MS Visual Studio, I get the following error message.

Anyone has an idea to fix this issue?

Microsoft Visual Studio Could not resolve mscorlib for target framework ‘.NETMicroFramework, Version=v4.1’. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.

Microsoft Visual Studio

Could not resolve mscorlib for target framework

‘.NETMicroFramework, Version=v4.1’. This can happen if the target

framework is not installed or if the framework moniker is incorrectly

formatted.

OK

SHARE
Answered By 0 points N/A #115062

Could not resolve mscorlib for target framework

qa-featured

We need a debug in order to unload this issue, in your trace provided. As I analyzed it, it comes out that the object framework moniker is correct and it’s pointing to v4.1 .Net Framework, and for me it will lead me there, is one out of three things going on, and I believe they are:

  • .Net v3.5 were not installed and V4.0 is trying to construct v3.5. In fixing this, just install v3.5 SP1 Framework.
  • Or you may have installed an earlier version of Visual Studio 2010 and .NET Framework directory is not cleaned up. Try to remove these folders, and run .NET 4.0 Full framework, in repair mode.
  • There is also a special registry key which is set, that keeps v3.5 from resolution. You will have to add a key to your registry.

Related Questions