Skip to content

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

@egvijayanand

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions