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

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

问题描述

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

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

<块引用>

项目文件不完整.缺少预期的导入"

请问,有人可以帮忙吗?

解决方案

已解决

  1. 即使从控制面板卸载某些版本后,也会在 C:Program Filesdotnetsdk 中找到删除版本的文件和文件夹

  2. 请去删除不需要的版本文件夹

  3. 尝试重新加载项目

<块引用>

这对我有用

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?

解决方案

Resolved

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

  2. Please go and delete unwanted version folder

  3. Try reloading the project

This worked for me

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

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