Project file is incomplete. Expected imports are missing

Majd Albaho picture Majd Albaho · Mar 22, 2018 · Viewed 62.9k times · Source

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 error

"Project file is incomplete. Expected imports are missing"

Please, can anyone help?

Error after while creating ASP core application

Answer

PilgrimViis picture PilgrimViis · Apr 2, 2018

I had the same issue. In my case, deleting global.json and appsettings solved the problem.