MSB3644 error when building with .net 5.0

纵饮孤独 提交于 2021-01-05 06:15:57

问题


After installing .net 5.0 dotnet-cli works, but after creating new project dotnet build fails with error error MSB3644: The reference assemblies for framework “.NETFramework,Version=v5.0” were not found.


回答1:


Make sure the environment variable MSBuildSdksPath equals <dotnet install path>\sdk\5.0.100-preview.3.20216.6\Sdks



来源:https://stackoverflow.com/questions/61745089/msb3644-error-when-building-with-net-5-0

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!