Have environment-specific runtime identifiers
hugodahl opened this issue · 5 comments
Add runtime identifiers which will be used at build time based on the current build environment.
See my comment here for a more detailed/thorough explanation of the apparent workings of the <RuntimeIdentifier[s]>
elements.
How best should we swap in the RuntimeIdentifier based on the platform a developer is working on?
Hmm.... thinking thinking...
We got a suggestion from @benaadams on Twitter: https://twitter.com/ben_a_adams/status/1089301629264973824
Looks do-able for a Debug configuration to force a single RuntimeIdentifier for the current OS. For release configurations, force BOTH RuntimeIdentifiers
This was my stab at what should hopefully be, at least a first attempt at handling that situation
I think what I've got in this change is what @benaadams mentions as the first option. Are you looking info going the MSBuild route?
Closed with PR #57