dotnet/msbuild

Don't mention installing Developer Pack on non-Windows OSes (MSB3644)

Open

#6,647 opened on Jun 30, 2021

View on GitHub
 (20 comments) (3 reactions) (1 assignee)C# (1,364 forks)batch import
Area: Debuggabilityhelp wantedtriaged

Repository metrics

Stars
 (5,062 stars)
PR merge metrics
 (Avg merge 11d 7h) (125 merged PRs in 30d)

Description

Inspired by https://github.com/dotnet/core/issues/6419.

This message is reasonable for Windows scenarios, but since there are no .NET Framework Developer or Targeting Packs for Linux or macOS, we shouldn't mention them in that circumstance.

error MSB3644: The reference assemblies for .NETFramework,Version=v4.8 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

Not sure whether we should explicitly mention Microsoft.NETFramework.ReferenceAssemblies. The SDK should provide it for you so if you hit this on *nix it's likely an SDK bug.

Contributor guide