DisposableMemory.ModernNetUAP.XamlCompiler 0.2.4

Suggested Alternatives

Microsoft.Windows.SDK.NET.Ref 10.0.26100.54

Additional Details

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. (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
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DisposableMemory.ModernNetUAP.XamlCompiler" Version="0.2.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DisposableMemory.ModernNetUAP.XamlCompiler" Version="0.2.4" />
                    
Directory.Packages.props
<PackageReference Include="DisposableMemory.ModernNetUAP.XamlCompiler" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DisposableMemory.ModernNetUAP.XamlCompiler --version 0.2.4
                    
#r "nuget: DisposableMemory.ModernNetUAP.XamlCompiler, 0.2.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DisposableMemory.ModernNetUAP.XamlCompiler@0.2.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DisposableMemory.ModernNetUAP.XamlCompiler&version=0.2.4
                    
Install as a Cake Addin
#tool nuget:?package=DisposableMemory.ModernNetUAP.XamlCompiler&version=0.2.4
                    
Install as a Cake Tool

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

NuGet package

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

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
There are no supported framework assets in this package.

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.