File tree Expand file tree Collapse file tree
KK_SaveLoadCompression.Plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <PackageReference Include =" IllusionLibs.Koikatu.Assembly-CSharp" Version =" 2019.4.27.4" />
1414 <PackageReference Include =" IllusionLibs.Koikatu.Assembly-CSharp-firstpass" Version =" 2019.4.27.4" />
1515 <PackageReference Include =" IllusionLibs.Koikatu.UnityEngine" Version =" 5.6.2.4" />
16+ <PackageReference Include =" ILRepack" Version =" 2.0.18" />
1617 <PackageReference Include =" LZMA-SDK" Version =" 19.0.0" />
1718 </ItemGroup >
1819
1920 <ItemGroup >
2021 <EmbeddedResource Include =" Resources\zip_watermark.png" />
2122 <EmbeddedResource Include =" Resources\unzip_watermark.png" />
2223 </ItemGroup >
24+
25+ <!-- Copy SevenZip.dll (LZMA-SDK) to output for ILRepack -->
26+ <Target Name =" CopyLzmaForRepack" AfterTargets =" Build" Condition =" '$(Configuration)' == 'Release'" >
27+ <Copy SourceFiles =" $(NuGetPackageRoot)lzma-sdk\19.0.0\lib\net20\SevenZip.dll" DestinationFolder =" $(OutputPath)" SkipUnchangedFiles =" true" />
28+ </Target >
29+
30+ <!-- ILRepack: merge SevenZip.dll into output DLL -->
31+ <Target Name =" ILRepack" AfterTargets =" CopyLzmaForRepack" Condition =" '$(Configuration)' == 'Release'" >
32+ <PropertyGroup >
33+ <ILRepackExe >$(NuGetPackageRoot)ilrepack\2.0.18\tools\ILRepack.exe</ILRepackExe >
34+ <IllusionLib >$(NuGetPackageRoot)illusionlibs.koikatu.assembly-csharp\2019.4.27.4\lib\net35</IllusionLib >
35+ <UnityLib >$(NuGetPackageRoot)illusionlibs.koikatu.unityengine\5.6.2.4\lib\net35</UnityLib >
36+ <GameBepInEx >G:\MyGAME\Koikatsu\BepInEx\core</GameBepInEx >
37+ <LibPaths >/lib:"$(IllusionLib)" /lib:"$(UnityLib)" /lib:"$(GameBepInEx)"</LibPaths >
38+ </PropertyGroup >
39+ <Exec Command =" " $(ILRepackExe)" $(LibPaths) /target:library /internalize /out:" $(OutputPath)KK_SaveLoadCompression.dll" " $(OutputPath)KK_SaveLoadCompression.dll" " $(OutputPath)SevenZip.dll" " />
40+ </Target >
2341</Project >
You can’t perform that action at this time.
0 commit comments