代码之家  ›  专栏  ›  技术社区  ›  Darren Wainwright

项目文件不完整,在更新的Visual Studio 2017上未找到NETCore.App 2.1

  •  3
  • Darren Wainwright  · 技术社区  · 6 年前

    在Windows 7 enterprise上重新安装Visual Studio 2017。

    已在Visual Studio上运行更新以获取版本15.8

    第1期

    在升级到15.8之前,这不是问题。

    eShopOnContainers

    我读过一个非常相关的问题的答案,在这里 Project file is incomplete. Expected imports are missing 尽管没有任何帮助。

    enter image description here

    可能是相关的,尽管尝试构建EF Core的dbContext并在包管理器控制台中接收此错误消息。

    enter image description here

    enter image description here

    我试过删除每个已安装的版本,但似乎没有什么能让我解决这两个问题。

    我试过修复visual Studio和dotnet安装。再说一遍,没什么帮助。

    知道我做错什么了吗?似乎都是从我升到15.8。。。


    3 回复  |  直到 6 年前
        1
  •  5
  •   ShashiGatadi    6 年前

    请同时安装x86版本的dotnet core SDK

        2
  •  5
  •   murray smith    6 年前

    我有同样的问题-项目文件不完整。缺少预期的导入。

    在安装了x86版本的.net core sdk之后,Visual studio能够打开我的.net core项目。

        3
  •  1
  •   George Thomas    6 年前