Silksong.GameLibs 1.2.0-silksong1.0.29315

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

Silksong.GameLibs

Bundler Nuget package for silksong game libraries. Strips and publicizes game libraries for local and CI development.

Versioning

This package uses semantic versioning and follows the naming scheme (package version)-silksong(silksong version), for example 1.0.0-silksong1.0.28324. This allows the package to seamlessly support multiple game versions. When a new version of the game is released, we can simply create a new version on nuget targeting that game version, without impacting existing consumers. When the content of the package itself is changed (e.g. a new file being added to the publicizer) then the package version is bumped.

Build instructions

This section is for people wanting to generate the package for a new game version; if you are just creating mods this section is not relevant to you.

To build this package, you should have ready:

  • The version(s) of the game you want to mod
  • The dotnet CLI to build (Visual Studio's build environment will not work because it does not support netstandard2.1)

Building for all supported versions

A build script, build-all.sh, is provided to build the package for all supported Silksong versions. This script will automatically build for each version listed in the script. You can optionally specify the build configuration (e.g. Release or Debug) using the -c or --configuration flag (default is Debug):

./build-all.sh -c Release

This will invoke dotnet build for each version, setting the required TargetSilksongVersion property and the specified configuration.

Building for a single version manually

If you want to build for a specific Silksong version, you must set the TargetSilksongVersion property manually:

dotnet build -c Release -p:TargetSilksongVersion=1.0.28324

Replace 1.0.28324 with the desired version. The build will fail if TargetSilksongVersion is not set.

Preparing game files

  1. Note down the game version and related Steam depot IDs. Add them in a comment in the csproj so that future builders can retrieve that version to build against it again in the future.
  2. Copy the contents of the Managed folder to ref/(game version), for example, ref/1.0.28324

Adding/removing assemblies in the build and/or publicization can be done by adjusting the SystemFiles and GameFiles item groups in the csproj.

Publishing packages

A publish script, publish-all.sh, is provided to automate publishing all generated NuGet packages. It will:

  1. Check that you are on the main branch and that it is up to date with origin/main
  2. Check that you have no uncommitted changes
  3. Clean all .nupkg files from the project's bin/Release folder
  4. Run build-all.sh with Release configuration
  5. Run dotnet nuget push --skip-duplicate for all generated packages using an API key you provide

Note: You must run publish-all.sh from the solution directory so that the relative bin/Release path is correct.

API Key Handling

  • You can provide your NuGet API key as a command line argument: ./publish-all.sh <NUGET_API_KEY>
  • If not provided, the script will look for a .nuget_api_key file in the project directory and use its contents.
  • If you provide the key as an argument, it will be saved to .nuget_api_key for future use (this file is gitignored).

Usage:

./publish-all.sh [NUGET_API_KEY]

Replace [NUGET_API_KEY] with your NuGet API key, or omit to use the saved key.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Silksong.GameLibs:

Package Downloads
WishUtil

This is a library for adding custom Wishes to Hollow Knight: Silksong.

org.silksong-modding.fsmutil

This is a library for mods to make FSM edits easier.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Silksong.GameLibs:

Repository Stars
MCXGK3/KnightInSilkSong
Version Downloads Last Updated
1.2.0-silksong1.0.29315 7,451 12/13/2025
1.2.0-silksong1.0.29242 206 12/13/2025
1.2.0-silksong1.0.28891 122 12/13/2025
1.2.0-silksong1.0.28714 136 12/13/2025
1.2.0-silksong1.0.28650 137 12/13/2025
1.2.0-silksong1.0.28561 134 12/13/2025
1.2.0-silksong1.0.28497 130 12/13/2025
1.2.0-silksong1.0.28324 128 12/13/2025
1.1.0-silksong1.0.29315 4,699 11/15/2025
1.1.0-silksong1.0.29242 2,343 11/7/2025
1.1.0-silksong1.0.28891 2,017 10/14/2025
1.1.0-silksong1.0.28714 789 10/4/2025
1.1.0-silksong1.0.28650 608 9/22/2025
1.1.0-silksong1.0.28561 291 9/20/2025
1.1.0-silksong1.0.28497 176 9/20/2025
1.1.0-silksong1.0.28324 198 9/20/2025
1.0.2-silksong1.0.28561 209 9/13/2025
1.0.2-silksong1.0.28497 193 9/12/2025
1.0.2-silksong1.0.28324 201 9/11/2025
1.0.1-silksong1.0.28324 230 9/9/2025
Loading failed