Skip to content

Remove Configuration Group and OS Group from the Our config system #31052

Closed

Description

@Anipik

The 3 major tasks here will to be able to

  • Cross-Compile.
  • able to pass to project to project dependencies.
  • should be able to find the best configurations from the project while building from the root.

The starting point here will be to make this work for a smaller repo.

cc @ericstj @danmosemsft @safern @ViktorHofer

Activity

  1. self-assigned this
    on Oct 2, 2019
  2. stephentoub commented on Oct 2, 2019

    @stephentoub
    Member

    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.

  3. ericstj commented on Oct 2, 2019

    @ericstj
    Member

    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.

  4. stephentoub commented on Oct 2, 2019

    @stephentoub
    Member

    Ok, cool. Sounds like all the capabilities will still be there, just better/more consistent, in which case... 👍

  5. transferred this issue fromdotnet/corefxon Feb 1, 2020
  6. ghost closed this as completedin #1787on Feb 6, 2020
  7. ghost locked as resolved and limited conversation to collaborators on Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions