Software⏱️ 2 min read📅 2026-05-31

How to Fix: Project file is incomplete. Expected imports are missing

Missing expected imports in ASP.NET Core project file.

Quick Answer: Check the .csproj file for missing references to the ASP.NET Core SDK, and ensure that the correct version is specified.

After reinstalling Visual Studio 2017 (15.6.3) and ASP.NET Core SDK (2.1.4), you may encounter the error 'Project file is incomplete. Expected imports are missing'.

🔍 Why This Happens

  • It's possible that the SDK installation was incomplete or corrupted, causing the project file to be missing required imports.

🚀 How to Resolve This Issue

Method 1: Run the SDK Repair Tool

  1. Step 1: Open a command prompt as an administrator and navigate to the directory where you installed the ASP.NET Core SDK.

Method 2: Reinstall the SDK

  1. Step 1: Uninstall the ASP.NET Core SDK from Visual Studio and then reinstall it using the Microsoft Installer.

🎯 Final Words

By following these steps, you should be able to resolve the 'Project file is incomplete. Expected imports are missing' error and get back to working on your ASP.NET Core project.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions