dotnet/msbuild

Use current runtime + architecture for GenerateResource on .NET Core

Open

#1293 aperta il 1 nov 2016

Vedi su GitHub
 (2 commenti) (1 reazione) (0 assegnatari)C# (1364 fork)batch import
.NET Corebughelp wantedtriaged

Metriche repository

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

Descrizione

See https://github.com/dotnet/sdk/issues/346#issuecomment-257654120.

On .NET Core, MSBuild doesn't support task hosts of different architectures/runtime versions. But the CoreResGen target does some gymnastics to figure out the right architecture/runtime version to use for the GenerateResource task.

On .NET Core we should just use CurrentArchitecture/CurrentRuntime.

Or as @nguerrera suggested, maybe just add the DoesTaskHostExist check for Architecture as well as Runtime.

Guida contributor