项目文件不完整。预期的进口量缺失 [英] Project file is incomplete. Expected imports are missing

查看:335
本文介绍了项目文件不完整。预期的进口量缺失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

格式化计算机后,我重新安装了Vs 2017 V 15.6.3
并从Microsoft 2.1.4安装了ASP.Net Core SDK

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

但是当我创建新的asp核心应用程序VS失败,并出现错误

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


项目文件不完整。预期的导入缺失

"Project file is incomplete. Expected imports are missing"

请,任何人都可以帮忙吗?

Please, can anyone help?

推荐答案


已解决

Resolved




  1. 即使从控制面板卸载某些版本后,在C中也会找到带有已删除版本的文件和文件夹:\程序文件\dotnet\sdk

  1. Even after uninstalling certain version from control panel, there would the files and folders with deleted version found in C:\Program Files\dotnet\sdk

请转到并删除不需要的版本文件夹

Please go and delete unwanted version folder




这对我有用

This worked for me

这篇关于项目文件不完整。预期的进口量缺失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆