MrmPatcher 0.0.0-alpha.0.17

This is a prerelease version of MrmPatcher.
dotnet add package MrmPatcher --version 0.0.0-alpha.0.17
                    
NuGet\Install-Package MrmPatcher -Version 0.0.0-alpha.0.17
                    
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="MrmPatcher" Version="0.0.0-alpha.0.17" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MrmPatcher" Version="0.0.0-alpha.0.17" />
                    
Directory.Packages.props
<PackageReference Include="MrmPatcher" />
                    
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 MrmPatcher --version 0.0.0-alpha.0.17
                    
#r "nuget: MrmPatcher, 0.0.0-alpha.0.17"
                    
#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 MrmPatcher@0.0.0-alpha.0.17
                    
#: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=MrmPatcher&version=0.0.0-alpha.0.17&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MrmPatcher&version=0.0.0-alpha.0.17&prerelease
                    
Install as a Cake Tool

MrmPatcher

NuGet

Based on the SingleExeXamlIsland project but instead for C# Native AOT.

This nuget allows publishing unpackaged UWP Xaml Islands apps fully self-contained without additional files.

Simply wrap any calls to WindowsXamlManager.InitializeForCurrentThread() with MrmPatcherHelper and pass the content of resources.pri.

using (new MrmPatcherHelper(stream or byte array))
{
	windowsXamlManager = WindowsXamlManager.InitializeForCurrentThread();
}

Projects

MrmPatcher

C# helper and interop with the native library, also automates the linking of the native project when publishing NAOT binaries.

MrmPatcher.Native

A C++ static library that handles the patching. Uses Detours to patch the respective Win32 APIs that are used by Xaml.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MrmPatcher:

Package Downloads
Modern.UI.Xaml

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.