reactiveui/splat

Optimise DefaultPlatformModeDetector on csproj sdk platforms

glennawatson opened this issue · 0 comments

.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.