. net core sdk 的版本 5.0.101 至少需要 msbuild 的 16.8.0 版本。当前可用的 msbuild 版本为 16.6.0.22303。


折腾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试试...?


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM