12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <Project Sdk="Microsoft.NET.Sdk">
- <PropertyGroup>
- <TargetFramework>net35</TargetFramework>
- <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
- <FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35'">$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride>
- <AssemblyName>COM3D2.MultipleMaids.Plugin</AssemblyName>
- </PropertyGroup>
- <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">
- <HintPath>lib\Assembly-CSharp.dll</HintPath>
- </Reference>
- <Reference Include="Assembly-CSharp-firstpass">
- <HintPath>lib\Assembly-CSharp-firstpass.dll</HintPath>
- </Reference>
- <Reference Include="Assembly-UnityScript-firstpass">
- <HintPath>lib\Assembly-UnityScript-firstpass.dll</HintPath>
- </Reference>
- <Reference Include="ExIni">
- <HintPath>lib\ExIni.dll</HintPath>
- </Reference>
- <Reference Include="UnityEngine">
- <HintPath>lib\UnityEngine.dll</HintPath>
- </Reference>
- <Reference Include="UnityInjector">
- <HintPath>lib\UnityInjector.dll</HintPath>
- </Reference>
- </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>
|