Repository navigation
Conversation
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
|
Tagging subscribers to this area: @dotnet/area-infrastructure-libraries |
|
Rather than generating substitutions, if we think this is valuable we should implement these checks as proper feature switches. |
How would that work? The values are not user configurable. They are controlled by the runtime environment. Note that this is just for netcoreapp libraries build that trims individual assemblies and uses reference assemblies for dependencies. This mode is special and comes with number of quirks. I think an alternative way to fix this would be to make this mode less special and reference implementation assemblies when trimming netcoreapp libraries. I suspect it would be more complicated change. |
I had two versions of this change, one this, the other for all ref assemblies without the user appcontext switches, but it is a bit noisy change (we need to collect all assemblies in shared framework). I can stage it if that is preferred. |
I was imagining that it work just like the subsitutions defined above -- instead of encoding manual substitution XML entries we would define But I forgot that |
|
Alternative: #136495 |
Branch
illink-os-substitutions(eee2675) compared tomain(a81c879), linux-x64,-c Release.