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 | 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 |