2dog.maui 4.7.2.137

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

2dog.maui

An embeddable GodotView for .NET MAUI on Windows, Android and iOS (experimental). Register builder.UseTwoDog(), then add new GodotView { Project = "MyGame" } to your page. Use view.Dispatch(tree => ...) to access Godot on its owning thread.

Windows presents through a WinUI SwapChainPanel. Vulkan writes a shared D3D11 texture, then D3D11 copies it to the composition swap chain. Both transfers stay on the GPU. Auto mode falls back to CPU readback when GPU sharing is unavailable. Set PresentationMode.Gpu to require Vulkan sharing or PresentationMode.Cpu to select readback. ActivePresentationMode reports the active path, and PresentationModeChanged announces changes. MAUI controls can overlap the game in either mode.

Android embeds GodotFragment and its native SurfaceView. Godot owns rendering, input, and lifecycle. It renders directly to the Android surface without copying frames through .NET. Initialize AndroidHost in the MAUI Application before creating the view. Never call Engine.Start() on Android.

One active view per process is supported. Android engine restart in the same process is not supported. Listen to Started, QuitRequested, and Failed. Windows forwards mouse, touch, and basic keyboard input; IME and mouse capture are not implemented. Android uses Godot's native input handling.

iOS hosts Godot's own view controller (2dog.ios) as a child of the page's view controller; Godot's display link runs on the main thread MAUI shares, so Dispatch runs between frames. Register IosHost with the game's TwoDogWebBoot.PluginsInitializer() in the app delegate before creating the view. Building needs a Mac with Xcode. Never call Engine.Start() on iOS.

Scaffold with dnx 2dog add --maui. See https://2dog.dev/hosts/maui.

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
4.7.2.137 0 10/23/2026
4.7.2.136 0 10/23/2026
4.7.2.135 2 10/23/2026
4.7.2.134 47 10/22/2026
4.7.2.133 67 10/21/2026
4.7.2.132 66 10/21/2026
4.7.2.127 70 10/20/2026
4.7.2.126 68 10/20/2026
4.7.2.125 74 10/19/2026