折腾Roslyn源码,报错了...

H:\Git\roslyn\src\Dependencies\Collections\Microsoft.CodeAnalysis.Collections.Package.csproj : error  : The project file cannot be opened by the project 
system, because it is missing some critical imports or the referenced SDK cannot 
be found.

Detailed Information:

. net core sdk 的版本 5.0.101 至少需要 msbuild 的 16.8.0 版本。当前可用的 msbuild 版本为 16.6.0.22303。将在 global. json 中指定的. net core sdk 更改为需要当前可用的 
msbuild 版本的旧版本。

//貌似需要升级Visual Studio版本,

突然想到,Git上这么多分支,
总有一个适合我的吧,
不要最新的,只要适合自己的,
终于找到一个这个分支:"release/dev16.6",
果断切到这个分支上...

解决方案

根据自己的环境,找到合适的分支...

要不就升级一下Visual Studio试试...?

相关文章:

  • 2021-11-10
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-07-16
  • 2021-05-29
猜你喜欢
  • 2022-12-23
  • 2022-01-05
  • 2022-02-10
  • 2021-12-15
  • 2022-02-28
  • 2022-12-23
相关资源
相似解决方案