Project file is incomplete. Expected imports are missing

后端 未结 30 1987
深忆病人
深忆病人 2020-12-07 19:30

After format my computer I reinstalled Vs 2017 V 15.6.3 and install ASP.Net Core SDK from Microsoft 2.1.4

But when I create new asp core application VS failed with e

30条回答
  •  广开言路
    2020-12-07 20:25

    I had the same issue. took me quiet a while to figure it out. In my case, I was trying to open a new ASP .NET Core Application and I was getting back 0 Projects like the one on this post.

    What I tried: I tried changing environmental variables under Control Panel\System and Security\System (click advance settings)

    Then click Environmental Variables

    Then check to see if you have dotnet path included, whether it is under Program Files or Program files (x86)

    Some people suggested to move (x86) up, which is based on microsoft documentation

    What fixed my issue: Turns out I had the wrong version installed and it was not compatible with Visual Studio 2017

    Then I removed the other installations and reinstalled the right version that is compatible with VS17 and works like a magic. Hope it helps someone in the future.

提交回复
热议问题