NuggetTactics.SDK
1.0.2
dotnet add package NuggetTactics.SDK --version 1.0.2
NuGet\Install-Package NuggetTactics.SDK -Version 1.0.2
<PackageReference Include="NuggetTactics.SDK" Version="1.0.2"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="NuggetTactics.SDK" Version="1.0.2" />
<PackageReference Include="NuggetTactics.SDK"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add NuggetTactics.SDK --version 1.0.2
#r "nuget: NuggetTactics.SDK, 1.0.2"
#:package NuggetTactics.SDK@1.0.2
#addin nuget:?package=NuggetTactics.SDK&version=1.0.2
#tool nuget:?package=NuggetTactics.SDK&version=1.0.2
Credit + Special Thanks
A large portion of the tooling is based on Silksong.GameLibs by BadMagic100. This package was reworked at the request of Hadean Tactics developer Doug so that no game files are redistributed.
NuggetTactics.SDK
MSBuild SDK NuGet package for modding Hadean Tactics with BepInEx 5. It wires up references and publicization against your local game install at build time. The package itself contains only props and documentation.
Setup
- Add the BepInEx NuGet feed to your mod project (
nuget.configor IDE package sources). - Reference this package from your mod
.csproj:
<PackageReference Include="NuggetTactics.SDK" Version="1.0.0" />
- Point at your owned copy of the game (override the default Steam path if needed):
<Project>
<PropertyGroup>
<HadeanTacticsDir>C:\Path\To\Hadean Tactics</HadeanTacticsDir>
</PropertyGroup>
</Project>
- Add the usual BepInEx plugin packages (
BepInEx.Core,BepInEx.PluginInfoProps, etc.) to your mod project as normal.
Versioning
This package uses semantic versioning. Bump the package version when you change the props file (e.g. add assemblies, change Unity module version). It is not tied to game patch versions — modders always compile against their own installed game.
Publishing this package
Publish to nuget.org via GitHub Actions (trusted publishing) or locally with an API key. See CONTRIBUTING.md for setup and commands.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- BepInEx.AssemblyPublicizer.MSBuild (>= 0.4.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.