2dog.engine 4.7.1.70

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

2dog.engine

Embed the Godot engine in your .NET applications.

2dog lets a standard .NET application host Godot and use the GodotSharp API.

Quick Start

Scaffold a host beside an existing project.godot:

dnx 2dog add
using twodog;

using var engine = new Engine("MyGodotApp", args: args);
using var godot = engine.Start();

while (!godot.Iteration())
{
    // Your code runs here every frame.
}

The generated host embeds its GodotProjectDir. The constructor uses that source directory during development and the adjacent .pck after publish.

To create a new project instead:

dnx 2dog new MyGodotApp

What's Included

  • twodog.dll - engine hosting API
  • GodotSharp.dll - Godot C# bindings
  • Godot.SourceGenerators and GodotPlugins - script generation and loading
  • Automatic asset import - incremental import during build

Platform-specific native libraries are provided by transitive dependencies (2dog.win-x64, 2dog.linux-x64, 2dog.osx-arm64); the GodotTools assemblies used by the automatic import come from 2dog.tools.

Documentation

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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on 2dog.engine:

Package Downloads
2dog.xunit

xUnit collection definitions for testing Godot applications with 2dog. The collections are compiled into your test assembly so xUnit discovers them correctly; the fixtures they bind come from the 2dog.engine package.

2dog.avalonia

Embed a Godot viewport inside an Avalonia application with 2dog. GodotControl composites the engine's output through Avalonia's compositor, so ordinary Avalonia controls render on top of the running game.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.7.1.70 45 8/11/2026
4.7.1.69 51 8/11/2026
Loading failed