dotnet/msbuild

Use current runtime + architecture for GenerateResource on .NET Core

Open

#1 293 ouverte le 1 nov. 2016

Voir sur GitHub
 (2 commentaires) (1 réaction) (0 assignés)C# (1 364 forks)batch import
.NET Corebughelp wantedtriaged

Métriques du dépôt

Stars
 (5 062 stars)
Métriques de merge PR
 (Merge moyen 11j 7h) (125 PRs mergées en 30 j)

Description

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.

Guide contributeur