Project file is incomplete. Expected imports are missing December 27, 2022 by Tarik I had the same issue. In my case, deleting global.json and appsettings solved the problem.