The imported project “C:\Microsoft.CSharp.targets” was not found

后端 未结 16 1990
挽巷
挽巷 2020-11-29 21:46

I got this error today when trying to open a Visual Studio 2008 project in Visual Studio 2005:

The imported project \"C:\\Microsoft.C

16条回答
  •  情话喂你
    2020-11-29 22:30

    In my case I could not load one out of 5 projects in my solution.

    It helped to close Visual Studio and I had to delete Microsoft.Net.Compilers.1.3.2 nuget folder under packages folder.

    Afterwards, open your solution again and the project loaded as expected

    Just to be sure, close all instances of VS before you delete the folder.

提交回复
热议问题