Reputation: 2325
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
.
Upvotes: 2
Views: 1526
Reputation: 2325
Make sure the environment variable MSBuildSdksPath
equals <dotnet install path>\sdk\5.0.100-preview.3.20216.6\Sdks
Upvotes: 1