ShoddyGameLibs 1.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ShoddyGameLibs --version 1.4.0                
NuGet\Install-Package ShoddyGameLibs -Version 1.4.0                
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="ShoddyGameLibs" Version="1.4.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ShoddyGameLibs --version 1.4.0                
#r "nuget: ShoddyGameLibs, 1.4.0"                
#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.
// Install ShoddyGameLibs as a Cake Addin
#addin nuget:?package=ShoddyGameLibs&version=1.4.0

// Install ShoddyGameLibs as a Cake Tool
#tool nuget:?package=ShoddyGameLibs&version=1.4.0                

ShoddyGameLibs - MSBuild Props Extension

ShoddyGameLibs automates the process of hollowing/stripping/zipping reference dlls marked with ShoddyGameLib="true", it also unzips the libs when building on Github Workflows.

The following values should be set either through PropertyGroups or as below on the ShoddyGameLib PackageReference:

Properties

  • GameFilesDir: (Required) Directory path to the game's root.
  • GameLibsFileDir: (Optional) File path to zip into.
    • Defaults: '$(MSBuildThisFileDirectory)ShoddyGameLibs'
  • BuildGameLibs: (Optional 'true') Should we build into that zip?
    • Defaults: 'false'
  • BuildFromGameLibs: (Optional 'true') Should we resolve references from that zip?
    • Defaults: 'false' unless $(CI) == 'true'
<PackageReference Include="ShoddyGameLibs" Version="..."
                  GameFilesDir="\Steam\steamapps\common\Game Name" 
                  BuildGameLibs="false" BuildFromGameLibs="false"/>

GameLib References

Finally, any assembly references in the Managed directory should be added as so:

✅ Make sure not to forget to add 'ShoddyGameLib="true"'!

<Reference Include="Assembly-Name" ShoddyGameLib="true"/>

❌ Don't include .dll in the name.

<Reference Include="Assembly-Name.dll"/>

MSBuild Execution Graph

MSBuild Execution Graph

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETFramework 3.5

    • No dependencies.
  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.6 107 7/12/2024
1.4.5 80 7/11/2024
1.4.4 83 7/11/2024
1.4.3 82 7/11/2024
1.4.2 88 7/11/2024
1.4.1 84 7/11/2024
1.4.0 85 7/11/2024
1.3.9 124 5/21/2024
1.3.8 96 5/21/2024
1.3.7 110 5/21/2024
1.3.6 93 5/21/2024
1.3.5 101 5/20/2024
1.3.4 82 5/20/2024
1.3.3 88 5/20/2024
1.3.2 64 5/20/2024
1.3.1 79 5/20/2024
1.3.0 84 5/20/2024
1.2.9 80 5/20/2024
1.2.8 78 5/20/2024
1.2.7 76 5/20/2024
1.2.6 79 5/20/2024
1.2.5 82 5/20/2024
1.2.4 80 5/20/2024
1.2.3 107 5/18/2024
1.2.2 69 5/18/2024
1.2.1 66 5/18/2024
1.2.0 70 5/18/2024
1.1.9 70 5/18/2024
1.1.8 68 5/18/2024
1.1.7 68 5/18/2024
1.1.6 74 5/18/2024
1.1.5 100 5/18/2024
1.1.3 84 5/18/2024
1.1.2 80 5/18/2024
1.1.1 84 5/18/2024
1.1.0 82 5/18/2024
1.0.8 77 5/18/2024
1.0.7 78 5/18/2024
1.0.6 85 5/18/2024
1.0.5 82 5/18/2024
1.0.4 80 5/18/2024
1.0.3 81 5/18/2024
1.0.2 79 5/18/2024
1.0.1 86 5/18/2024
1.0.0 81 5/18/2024