We currently pick win7-x86 or win7-x64 (depending on PlatformTarget) when building on Windows. We should make this more dynamic based on host OS, particularly when we support building net4x applications for non-Windows using Mono.
There are too many uses of $(RuntimeIdentifier) and $(RuntimeIdentifers) in static evaluation context for us to simply run some code to pick a RID.
Possible fixes:
- msbuild sets the host rid
- nuget uses/returns host rid as part of restore data
- things are refactored such that the rid is not needed statically
We currently pick win7-x86 or win7-x64 (depending on PlatformTarget) when building on Windows. We should make this more dynamic based on host OS, particularly when we support building net4x applications for non-Windows using Mono.
There are too many uses of$(RuntimeIdentifier) and $ (RuntimeIdentifers) in static evaluation context for us to simply run some code to pick a RID.
Possible fixes: