ShoddyGameLibs 1.2.1

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

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

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

  1. 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 128 8 months ago
1.4.5 93 8 months ago
1.4.4 96 8 months ago
1.4.3 97 8 months ago
1.4.2 103 8 months ago
1.4.1 100 8 months ago
1.4.0 98 8 months ago
1.3.9 137 10 months ago
1.3.8 107 10 months ago
1.3.7 122 10 months ago
1.3.6 104 10 months ago
1.3.5 116 10 months ago
1.3.4 95 5/20/2024
1.3.3 101 5/20/2024
1.3.2 80 5/20/2024
1.3.1 93 5/20/2024
1.3.0 98 5/20/2024
1.2.9 95 5/20/2024
1.2.8 94 5/20/2024
1.2.7 93 5/20/2024
1.2.6 95 5/20/2024
1.2.5 98 5/20/2024
1.2.4 97 5/20/2024
1.2.3 119 5/18/2024
1.2.2 83 5/18/2024
1.2.1 78 5/18/2024
1.2.0 84 5/18/2024
1.1.9 84 5/18/2024
1.1.8 81 5/18/2024
1.1.7 79 5/18/2024
1.1.6 91 5/18/2024
1.1.5 114 5/18/2024
1.1.3 97 5/18/2024
1.1.2 93 5/18/2024
1.1.1 99 5/18/2024
1.1.0 97 5/18/2024
1.0.8 90 5/18/2024
1.0.7 91 5/18/2024
1.0.6 102 5/18/2024
1.0.5 95 5/18/2024
1.0.4 93 5/18/2024
1.0.3 95 5/18/2024
1.0.2 92 5/18/2024
1.0.1 105 5/18/2024
1.0.0 94 5/18/2024