2dog 4.7.1.46

dotnet tool install --global 2dog --version 4.7.1.46
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local 2dog --version 4.7.1.46
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=2dog&version=4.7.1.46
                    
nuke :add-package 2dog --version 4.7.1.46
                    

2dog

Command-line tool and project templates for 2dog – run Godot as a library from your own .NET entry point. The engine library itself is the 2dog.engine package.

This one package is both a dotnet tool and a dotnet new template package.

New project

dotnet new install 2dog
dotnet new 2dog -n MyGame
cd MyGame

Convert an existing Godot project

One-shot (no install, .NET 10+):

dnx 2dog convert path/to/your/godot/project

Or install the 2dog command globally:

dotnet tool install -g 2dog
2dog convert path/to/your/godot/project

2dog convert

Converts an existing Godot project to 2dog in place – no files are ever moved, renamed or deleted. The Godot project directory becomes the solution root, and host projects are scaffolded as nested subfolders that the Godot editor ignores (each carries a .gdignore):

MyGame/                      <- your existing Godot project (unchanged)
  project.godot
  MyGame.csproj              <- created or minimally patched
  MyGame.slnx                <- created, or an existing .sln is migrated
  TwoDogWebBoot.cs           <- added (web bootstrap, guarded by LIBGODOT_ENABLED)
  MyGame.2dog/   (.gdignore) <- desktop host (your Main entry point)
  MyGame.web/    (.gdignore) <- browser (WebAssembly) host
  MyGame.tests/  (.gdignore) <- xUnit test project

dotnet new 2dog produces the same layout from scratch.

Options:

Option Effect
--name <BaseName> Override the derived project base name
--no-web Skip the browser (wasm) host
--no-tests Skip the xUnit test project
--dry-run Print planned actions without changing anything
--force Overwrite files that already exist (never deletes/moves)
--no-restore Skip the final dotnet restore
--verbose Extra output

Using the library directly

This package cannot be referenced from a project (it is a tool package); reference the engine instead:

dotnet add package 2dog.engine

This package has no dependencies.

Version Downloads Last Updated
4.7.1.46 46 7/17/2026
4.7.1.45 106 7/15/2026
4.7.1.44 86 7/15/2026
4.7.1.43 78 7/15/2026
4.7.0.41 111 7/14/2026
4.7.0.40 92 7/14/2026
4.7.0.39 97 7/14/2026
4.7.0.38 127 7/13/2026
4.7.0.37 131 7/13/2026
4.7.0.36 129 7/13/2026
4.7.0.35 117 7/13/2026
4.7.0.34 124 7/13/2026
4.7.0.32 142 7/12/2026
4.7.0.31 118 7/12/2026
4.7.0.30 117 7/12/2026
4.7.0.29 132 7/12/2026
4.7.0.25 124 7/11/2026
4.7.0.24 241 7/11/2026 4.7.0.24 is deprecated because it is no longer maintained.
0.1.23-pre 476 4/11/2026 0.1.23-pre is deprecated because it is no longer maintained.
0.1.22-pre 167 4/11/2026 0.1.22-pre is deprecated because it is no longer maintained.
Loading failed