A .NET template for quickly creating a C# nuget package for use with Godot 4.
# Install this template
dotnet new --install Chickensoft.GodotPackage
# Generate a new project based on this template
dotnet new chickenpackage --name "MyPackageName" --param:author "My Name"
NOTE: This repository contains only the dotnet new
template information and package description. The actual template contents are included as a git submodule from the GodotPackage repository.
The GodotPackage template contents are included as a submodule, since it is easier to verify changes to the template if it compiles and bundles into a package of its own.
Microsoft has an article on creating template packages.