dotnet/msbuild

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

Open

#6647 aperta il 30 giu 2021

Vedi su GitHub
 (20 commenti) (3 reazioni) (1 assegnatario)C# (1364 fork)batch import
Area: Debuggabilityhelp wantedtriaged

Metriche repository

Star
 (5062 star)
Metriche merge PR
 (Merge medio 11g 7h) (125 PR mergiate in 30 g)

Descrizione

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.

Guida contributor