Thunder.MonoGame.Avalonia
0.2.0
dotnet add package Thunder.MonoGame.Avalonia --version 0.2.0
NuGet\Install-Package Thunder.MonoGame.Avalonia -Version 0.2.0
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="Thunder.MonoGame.Avalonia" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Thunder.MonoGame.Avalonia" Version="0.2.0" />
<PackageReference Include="Thunder.MonoGame.Avalonia" />
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 Thunder.MonoGame.Avalonia --version 0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Thunder.MonoGame.Avalonia, 0.2.0"
#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 Thunder.MonoGame.Avalonia@0.2.0
#: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=Thunder.MonoGame.Avalonia&version=0.2.0
#tool nuget:?package=Thunder.MonoGame.Avalonia&version=0.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Thunder.MonoGame.Avalonia
Run MonoGame games inside an Avalonia desktop application.
What's new in v0.2.0
- Documentation site — API reference, nine how-to guides, and an architecture overview at docs.thundersizzle.tech.
- XML documentation on all public types and members, with runnable examples via Thunder.DocSnippets.
What it does
Thunder.MonoGame.Avalonia compiles MonoGame from source and exposes a MonoGameControl Avalonia control that hosts an OpenGL game loop. Drop the control into any Avalonia window or panel and point it at your Game subclass — no SDL window, no separate process.
Quick start
- Reference this package in your Avalonia desktop project.
- Add
MonoGameControlto your AXAML layout. - Subclass
Gameand assign it to the control'sGameproperty.
A minimal project template is available. Install it first, then create a new project:
dotnet new install Thunder.MonoGame.Avalonia.Templates
dotnet new mgavalonia -n MyGame
See the minimal setup guide for a full walkthrough.
Documentation
Requirements
- .NET 10 or later
- Linux, macOS, or Windows desktop (OpenGL required)
License
MIT
| Product | Versions 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
- Avalonia (>= 11.3.14)
- Avalonia.Desktop (>= 11.3.14)
- Avalonia.Themes.Fluent (>= 11.3.14)
- MonoGame.Library.OpenAL (>= 1.24.3.2)
- MonoGame.Library.SDL (>= 2.32.10.2)
- NVorbis (>= 0.10.4)
- StbImageSharp (>= 2.30.15)
- StbImageWriteSharp (>= 1.16.7)
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.0 | 99 | 4/30/2026 |
| 0.2.0-preview16 | 75 | 4/30/2026 |
| 0.2.0-preview15 | 100 | 4/29/2026 |
| 0.1.5 | 101 | 4/13/2026 |
| 0.1.4 | 105 | 4/13/2026 |
| 0.1.3 | 99 | 4/11/2026 |
| 0.1.2 | 98 | 4/10/2026 |
| 0.1.0 | 94 | 4/10/2026 |