Visual Studio 2010: Could not resolve mscorlib for target framework '.NETFramework,Version=v4.0'

前端 未结 21 2943
谎友^
谎友^ 2020-12-14 14:31

We are currently migrating all our solutions from 2005 to 2010 (that\'s right, we\'re skipping 2008!). We are also changing our file structure to make some more sense (some

21条回答
  •  再見小時候
    2020-12-14 15:00

    It could be that the path to your solution is too long:

    Meaning:

    C:\MyProject\Folder\SubFolder...

    should be Under "256 Character".

    http://wcfvs.blogspot.com/2011/04/could-not-resolve-mscorlib-for-target.html

    I found this thread when I had the same issue but had no reference issues. I found the link above and it solved my problem. Hopefully this will help someone else who comes here with the same problem.

提交回复
热议问题