Project file is incomplete. Expected imports are missing

后端 未结 30 1966
深忆病人
深忆病人 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条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-07 20:12

    in my case, I went to the folder C:\Program Files\dotnet\sdk delete the preview sdk folder, then on the command line run:

    dotnet sdk 2.1.200

    to set the correct sdk version for asp.net core. this fixed the problem.

提交回复
热议问题