. 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