Skip to content

Consider adding an option to set a condition, like Framework, when defining a parameter #9569

Description

@egvijayanand

Is your feature request related to a problem? Please describe.

Consider adding an option to set a condition, like Framework, when defining a parameter.

This will make it possible to manage framework-specific features within a single template package.

Describe the solution you'd like.

In the ide.host.json file:

{
    "id": "global-namespace",
    "name": {
        "text": "Use .NET MAUI 10 Global Namespace feature."
    },
    "isVisible": true,
    "defaultValue": "true",
    "condition": "net10.0" // Proposed one - this, in turn will add interactivity in the IDE based on the Framework selection.
}

Additional context

Template parameter definition.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions