Skip to content

Optimise DefaultPlatformModeDetector on csproj sdk platforms #940

@glennawatson

Description

@glennawatson

.NET 6 introduced some new MSBuild properties 'UseWindowsForms' 'UseMaui' and 'UseWPF'

We can take advantage of those in the DefaultPlatformModeDetector to optimise the experience for the user.

https://github.com/reactiveui/splat/blob/main/src/Splat.Drawing/DefaultPlatformModeDetector.cs

Provide #if overrides in those scenarios.

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