DisposableMemory.ModernNetUAP.XamlCompiler
0.2.4
Microsoft.Windows.SDK.NET.Ref 10.0.26100.54
Additional DetailsMicrosoft now officially supports .NET 9 UWP with Visual Studio 17.12.
See https://devblogs.microsoft.com/ifdef-windows/preview-uwp-support-for-dotnet-9-native-aot/ for details.
You should only use this package if:
- You need to use older versions of Visual Studio.
- You need to use older versions of .NET and/or Windows SDK. (Note: targeting .NET 8 using .NET 9 SDK works fine with official UWP support)
- You need to mix WinForms / WPF with Windows.UI.Xaml (for XAML islands) in the same project (experimental)
dotnet add package DisposableMemory.ModernNetUAP.XamlCompiler --version 0.2.4
NuGet\Install-Package DisposableMemory.ModernNetUAP.XamlCompiler -Version 0.2.4
<PackageReference Include="DisposableMemory.ModernNetUAP.XamlCompiler" Version="0.2.4" />
<PackageVersion Include="DisposableMemory.ModernNetUAP.XamlCompiler" Version="0.2.4" />
<PackageReference Include="DisposableMemory.ModernNetUAP.XamlCompiler" />
paket add DisposableMemory.ModernNetUAP.XamlCompiler --version 0.2.4
#r "nuget: DisposableMemory.ModernNetUAP.XamlCompiler, 0.2.4"
#:package DisposableMemory.ModernNetUAP.XamlCompiler@0.2.4
#addin nuget:?package=DisposableMemory.ModernNetUAP.XamlCompiler&version=0.2.4
#tool nuget:?package=DisposableMemory.ModernNetUAP.XamlCompiler&version=0.2.4
This package has been deprecated, as Microsoft now officially supports .NET 9 UWP with Visual Studio 17.12. See https://devblogs.microsoft.com/ifdef-windows/preview-uwp-support-for-dotnet-9-native-aot/ for details.
You should only use this package if:
- You need to use older versions of Visual Studio.
- You need to use older versions of .NET and/or Windows SDK.
- You need to mix WinForms / WPF with Windows.UI.Xaml (for XAML islands) in the same project (experimental)
DisposableMemory.ModernNetUAP.WinUI works with official .NET 9 UWP support, if you wish to use WinUI 2 in that scenario.
DisposableMemory.ModernNetUAP.XamlCompiler
Provides basic support for Windows.UI.Xaml (UWP) XAML codegen in Visual Studio for Modern .NET (.NET 8+).
Requirements
- C#/WinRT with Windows.UI.Xaml support (
2.1.1
and higher) - Supported Windows SDK Projection packages (see C#/WinRT documentation for more information)
Content
- DisposableMemory.ModernNetUAP.XamlCompiler for basic support
- DisposableMemory.ModernNetUAP.WinUI for WinUI 2 projection
For other (non legacy .NET) WinRT components and XAML control libraries, a simple C#/WinRT projection should work starting from 0.2.0.
Acknowledgements
- Microsoft
- Mono.Cecil for fake WinMD generation
- Mile.Xaml for XAML compiler enablement
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated | |
---|---|---|---|
0.2.4 | 214 | 10/22/2024 | |
0.2.3 | 162 | 10/9/2024 | |
0.2.2 | 192 | 8/21/2024 | |
0.2.1 | 229 | 8/11/2024 | |
0.2.0 | 243 | 8/10/2024 | |
0.1.0 | 186 | 8/9/2024 | |
0.1.0-preview3 | 150 | 7/26/2024 | |
0.1.0-preview2 | 136 | 7/26/2024 | |
0.1.0-preview | 141 | 7/24/2024 |