可能重复:
Visual Studio 2010: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'
我有一个C#项目,其中有一些资源在Resources.resx中。当我在VS2010中打开此文件时,出现错误:
Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'. This can happen if the target framework is not installed or if the framework moniker is incorrectly formatted.
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
。如何摆脱此错误?