microsoft / XamlBehaviors

This is the official home for UWP XAML Behaviors on GitHub.
MIT License
697 stars 112 forks source link

Add support for UWP on modern .NET #256

Open Sergio0694 opened 1 month ago

Sergio0694 commented 1 month ago

Completes https://task.ms/52148967

This PR adds support for UWP on modern .NET, by adding new UWP projects targeting .NET 8 and packaging them in a new TFM folder in the Microsoft.Xaml.Behaviors.Uwp.Managed NuGet package. Virtually no code changes are required (and we also get all the trim/AOT support for free from #255). The .csproj files could be simplified further, but keeping them the same as the ones for WinUI so that things are easier to maintain (fewer differences between the two flavors).

[!NOTE] Can only build locally for now as it requires previews of Visual Studio, MSBuild, the XAML Compiler and the .NET SDK.

azchohfi commented 1 month ago

Need to work on the CI systems for this to properly build.