2dog 4.7.1.45

dotnet tool install --global 2dog --version 4.7.1.45
                    
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.45
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=2dog&version=4.7.1.45
                    
nuke :add-package 2dog --version 4.7.1.45
                    

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.45 43 7/15/2026
4.7.1.44 42 7/15/2026
4.7.1.43 35 7/15/2026
4.7.0.41 62 7/14/2026
4.7.0.40 44 7/14/2026
4.7.0.39 52 7/14/2026
4.7.0.38 81 7/13/2026
4.7.0.37 81 7/13/2026
4.7.0.36 81 7/13/2026
4.7.0.35 70 7/13/2026
4.7.0.34 79 7/13/2026
4.7.0.32 96 7/12/2026
4.7.0.31 71 7/12/2026
4.7.0.30 73 7/12/2026
4.7.0.29 91 7/12/2026
4.7.0.25 80 7/11/2026
4.7.0.24 166 7/11/2026 4.7.0.24 is deprecated because it is no longer maintained.
0.1.23-pre 432 4/11/2026 0.1.23-pre is deprecated because it is no longer maintained.
0.1.22-pre 122 4/11/2026 0.1.22-pre is deprecated because it is no longer maintained.
0.1.21-pre 106 4/11/2026 0.1.21-pre is deprecated because it is no longer maintained.
Loading failed