突然,Rider无法在Ubuntu 18.04上构建我的.net核心项目

时间:2019-07-26 21:55:47

标签: .net-core msbuild ubuntu-18.04 rider

我的家用计算机在Ubuntu 18.04上运行Rider进行.net核心开发。我在工作机器上使用几乎相同的设置。

突然我无法在家中构建.net核心项目。它仍然可以正常工作,但是由于某些原因,它在我的家用计算机上始终无法通过以下方式失败:

The imported project "/code/slndir/projectname/obj/projectname.csproj.*.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  /snap/dotnet-sdk/44/sdk/2.2.401/Current/Microsoft.Common.props

我尝试过的东西包括:

  • 确认文件在构建后确实存在
  • 重新安装骑手。
  • 将设置目录从工作计算机的主目录复制到我的家庭计算机的主目录
  • 从家用计算机的主目录中删除设置目录,然后重新安装rider
  • 使用(snap和apt)重新安装.net core sdk 2x
  • 重新安装了单声道

项目加载意味着msbuild正在加载,到底是什么错? 感觉就像我使用了错误的工具。我想念什么?

0 个答案:

没有答案
相关问题