Closed nibanks closed 2 months ago
I don't understand why we would do this: XDP supports (to varying degrees) four different build systems today, and has supported three other ones historically, for a total of seven build systems. It is not sustainable or good design for XDP to take a dependency on a vague and variable flag like "UndockOfficial" when a clear, concise, and invariant flag like "IsAdmin" is available and already implemented. To switch to a flag that conflates or implies several other flags (all of which may change in the future) seems like a step backwards for no tangible gain.
Closing for now, as we are keeping this logic in the undocked repo for now. We can reevaluate as needed.
Official builds in OneBranch already pass
-p:UndockedOfficial=true
, so to simplify/eliminate any custom msbuild args that need to be passed for the builds there, we update the project files to key off this to do what is necessary for theSignMode
andIsAdmin
parameters.