FoxPro
FoxPro

Reputation: 2325

MSB3644 error when building with .net 5.0

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

Answers (1)

FoxPro
FoxPro

Reputation: 2325

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

Upvotes: 1

Related Questions