2dog.godotsharp 4.7.2.95

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

2dog.godotsharp

The 2dog fork's managed bindings and source generator, without native engine dependencies. Use the same version as the host's 2dog.engine package.

2dog new, 2dog add, and 2dog update configure game references automatically. A game or library can also reference the core package directly:

<ItemGroup>
  <PackageReference Include="2dog.godotsharp" Version="$(TwoDogVersion)" />
</ItemGroup>

No DisableImplicitGodotSharpReferences or DisableImplicitGodotGeneratorReferences properties are required. Normal Godot.NET.Sdk defaults work on the first restore and subsequent restores. The package selects fork assemblies in place of compatible stock package assets and keeps one fork source generator. Dependencies targeting a different Godot version still fail TDG001.

The core package carries a private editor binding fallback. It becomes a reference only when Godot.NET.Sdk requests editor APIs (Debug/Editor), or a dependency requests GodotSharpEditor. Plain .NET projects using editor APIs explicitly should reference 2dog.godotsharp.editor. The separate editor package remains supported and must match the core version exactly.

A host dependency cannot change how a referenced game compiles. The CLI therefore adds the managed references to existing games as well as new ones. Compatible stock dependencies in legacy game and third-party library projects no longer prevent a host from building/publishing.

Resolved compile/copy and publish inputs are checked by content hash after package selection. Stale manual HintPaths still fail, even when assembly versions match. Publish checks run before ILLink rewrites assemblies and also cover publish --no-build.

The core package uses the fork's Release core API and Debug editor API. Native debug/editor selection remains controlled by TwoDogVariant. Packaging requires a matching fork build in TwoDogGodotSharpApiDir. The source generator runs automatically for Godot.NET.Sdk games; custom Microsoft.NET.Sdk games can set TwoDogEnableGodotSourceGenerators=true and supply GodotProjectDir.

The package preserves fork trim annotations. It does not mark consumer assemblies as trimmable or suppress IL2125; application and library reflection still requires its own trimming review.

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.
  • net10.0

    • No dependencies.

NuGet packages (2)

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

Package Downloads
2dog.engine

Embed the Godot engine in your .NET applications. Reference the 2dog.engine package and it will pull in the appropriate platform-specific package (2dog.win-x64, 2dog.linux-x64, or 2dog.osx-arm64) for native library support.

2dog.godotsharp.editor

2dog fork editor C# bindings. No native engine dependencies.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.7.2.95 43 9/28/2026
4.7.2.93 54 9/28/2026
4.7.2.92 57 9/27/2026
4.7.2.91 253 9/24/2026
4.7.2.90 91 9/24/2026
4.7.2.89 84 9/23/2026