You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove Configuration Group and OS Group from the Our config system #31052
Can you elaborate on what it means to remove these? I use these to cross-compile and validate debug vs release all the time. If we're removing these properties, there needs to be a similarly easy mechanism in place.
The goal is to stop overloading Configuration with our targeting information and instead use TargetFrameworks since this is supported by the SDK.
So mapping today's concepts to desired concepts:
ConfigurationGroup -> Configuration
TargetGroup-OSGroup -> TargetFramework-OSGroup
BuildConfigurations -> TargetFrameworks (where individual values are encoded as TargetFramework-OSGroup)
PackageConfigurations -> (TBD) some flag set for specific configurations rather than a static list, EG: IncludeInPackage = True|False, I believe the SDK has a property we can use here.
The benefit of doing this is it gets rid of Configurations.props and the lists of configurations in the project files, it also eliminates the need for generating SLN files. It should also make cross-targeting work more naturally in VS. It eliminates our cazy graph of generated props files.
Reacted by Santiago Fernandez Madero and Anirudh Agnihotry
Activity
stephentoub commentedon Oct 2, 2019
Can you elaborate on what it means to remove these? I use these to cross-compile and validate debug vs release all the time. If we're removing these properties, there needs to be a similarly easy mechanism in place.
ericstj commentedon Oct 2, 2019
The goal is to stop overloading Configuration with our targeting information and instead use TargetFrameworks since this is supported by the SDK.
So mapping today's concepts to desired concepts:
ConfigurationGroup -> Configuration
TargetGroup-OSGroup -> TargetFramework-OSGroup
BuildConfigurations -> TargetFrameworks (where individual values are encoded as TargetFramework-OSGroup)
PackageConfigurations -> (TBD) some flag set for specific configurations rather than a static list, EG: IncludeInPackage = True|False, I believe the SDK has a property we can use here.
The benefit of doing this is it gets rid of Configurations.props and the lists of configurations in the project files, it also eliminates the need for generating SLN files. It should also make cross-targeting work more naturally in VS. It eliminates our cazy graph of generated props files.
stephentoub commentedon Oct 2, 2019
Ok, cool. Sounds like all the capabilities will still be there, just better/more consistent, in which case... 👍