|
@@ -6,6 +6,11 @@
|
|
<AssemblyName>COM3D2.MultipleMaids.Plugin</AssemblyName>
|
|
<AssemblyName>COM3D2.MultipleMaids.Plugin</AssemblyName>
|
|
</PropertyGroup>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<ItemGroup>
|
|
|
|
+ <PackageReference Include="ILRepack" Version="2.0.18" />
|
|
|
|
+ <PackageReference Include="ILRepack.MSBuild.Task" Version="2.0.13" />
|
|
|
|
+ <PackageReference Include="LZMA-SDK" Version="18.1.0" />
|
|
|
|
+ </ItemGroup>
|
|
|
|
+ <ItemGroup>
|
|
<Reference Include="Assembly-CSharp">
|
|
<Reference Include="Assembly-CSharp">
|
|
<HintPath>lib\Assembly-CSharp.dll</HintPath>
|
|
<HintPath>lib\Assembly-CSharp.dll</HintPath>
|
|
</Reference>
|
|
</Reference>
|
|
@@ -25,4 +30,17 @@
|
|
<HintPath>lib\UnityInjector.dll</HintPath>
|
|
<HintPath>lib\UnityInjector.dll</HintPath>
|
|
</Reference>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</ItemGroup>
|
|
|
|
+
|
|
|
|
+ <Target Name="ILRepack" AfterTargets="Build">
|
|
|
|
+ <PropertyGroup>
|
|
|
|
+ <WorkingDirectory>$(MSBuildThisFileDirectory)bin\$(Configuration)\$(TargetFramework)</WorkingDirectory>
|
|
|
|
+ </PropertyGroup>
|
|
|
|
+ <ItemGroup>
|
|
|
|
+ <InputAssemblies Include="$(AssemblyName).dll" />
|
|
|
|
+ <InputAssemblies Include="SevenZip.dll" />
|
|
|
|
+ </ItemGroup>
|
|
|
|
+
|
|
|
|
+ <ILRepack MainAssembly="$(AssemblyName).dll" Parallel="true" Internalize="true" OutputAssembly="$(AssemblyName).dll" InputAssemblies="@(InputAssemblies)" OutputType="Dll" WorkingDirectory="$(WorkingDirectory)" />
|
|
|
|
+
|
|
|
|
+ </Target>
|
|
</Project>
|
|
</Project>
|