ShoddyGameLibs 1.4.6
dotnet add package ShoddyGameLibs --version 1.4.6
NuGet\Install-Package ShoddyGameLibs -Version 1.4.6
<PackageReference Include="ShoddyGameLibs" Version="1.4.6" />
paket add ShoddyGameLibs --version 1.4.6
#r "nuget: ShoddyGameLibs, 1.4.6"
// Install ShoddyGameLibs as a Cake Addin #addin nuget:?package=ShoddyGameLibs&version=1.4.6 // Install ShoddyGameLibs as a Cake Tool #tool nuget:?package=ShoddyGameLibs&version=1.4.6
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
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 | 115 | 7/12/2024 |
1.4.5 | 86 | 7/11/2024 |
1.4.4 | 89 | 7/11/2024 |
1.4.3 | 90 | 7/11/2024 |
1.4.2 | 94 | 7/11/2024 |
1.4.1 | 92 | 7/11/2024 |
1.4.0 | 91 | 7/11/2024 |
1.3.9 | 130 | 5/21/2024 |
1.3.8 | 102 | 5/21/2024 |
1.3.7 | 116 | 5/21/2024 |
1.3.6 | 99 | 5/21/2024 |
1.3.5 | 109 | 5/20/2024 |
1.3.4 | 90 | 5/20/2024 |
1.3.3 | 94 | 5/20/2024 |
1.3.2 | 70 | 5/20/2024 |
1.3.1 | 85 | 5/20/2024 |
1.3.0 | 90 | 5/20/2024 |
1.2.9 | 88 | 5/20/2024 |
1.2.8 | 86 | 5/20/2024 |
1.2.7 | 87 | 5/20/2024 |
1.2.6 | 87 | 5/20/2024 |
1.2.5 | 90 | 5/20/2024 |
1.2.4 | 89 | 5/20/2024 |
1.2.3 | 113 | 5/18/2024 |
1.2.2 | 75 | 5/18/2024 |
1.2.1 | 72 | 5/18/2024 |
1.2.0 | 78 | 5/18/2024 |
1.1.9 | 76 | 5/18/2024 |
1.1.8 | 74 | 5/18/2024 |
1.1.7 | 74 | 5/18/2024 |
1.1.6 | 82 | 5/18/2024 |
1.1.5 | 108 | 5/18/2024 |
1.1.3 | 90 | 5/18/2024 |
1.1.2 | 86 | 5/18/2024 |
1.1.1 | 92 | 5/18/2024 |
1.1.0 | 92 | 5/18/2024 |
1.0.8 | 85 | 5/18/2024 |
1.0.7 | 87 | 5/18/2024 |
1.0.6 | 97 | 5/18/2024 |
1.0.5 | 90 | 5/18/2024 |
1.0.4 | 88 | 5/18/2024 |
1.0.3 | 90 | 5/18/2024 |
1.0.2 | 85 | 5/18/2024 |
1.0.1 | 92 | 5/18/2024 |
1.0.0 | 87 | 5/18/2024 |