MultipleMaids.csproj 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net35</TargetFramework>
  4. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  5. <FrameworkPathOverride Condition="'$(TargetFramework)' == 'net35'">$(MSBuildProgramFiles32)\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client</FrameworkPathOverride>
  6. <AssemblyName>COM3D2.MultipleMaids.Plugin</AssemblyName>
  7. </PropertyGroup>
  8. <ItemGroup>
  9. <PackageReference Include="ILRepack" Version="2.0.18" />
  10. <PackageReference Include="ILRepack.MSBuild.Task" Version="2.0.13" />
  11. <PackageReference Include="LZMA-SDK" Version="18.1.0" />
  12. </ItemGroup>
  13. <ItemGroup>
  14. <Reference Include="Assembly-CSharp">
  15. <HintPath>lib\Assembly-CSharp.dll</HintPath>
  16. </Reference>
  17. <Reference Include="Assembly-CSharp-firstpass">
  18. <HintPath>lib\Assembly-CSharp-firstpass.dll</HintPath>
  19. </Reference>
  20. <Reference Include="Assembly-UnityScript-firstpass">
  21. <HintPath>lib\Assembly-UnityScript-firstpass.dll</HintPath>
  22. </Reference>
  23. <Reference Include="ExIni">
  24. <HintPath>lib\ExIni.dll</HintPath>
  25. </Reference>
  26. <Reference Include="UnityEngine">
  27. <HintPath>lib\UnityEngine.dll</HintPath>
  28. </Reference>
  29. <Reference Include="UnityInjector">
  30. <HintPath>lib\UnityInjector.dll</HintPath>
  31. </Reference>
  32. </ItemGroup>
  33. <Target Name="ILRepack" AfterTargets="Build">
  34. <PropertyGroup>
  35. <WorkingDirectory>$(MSBuildThisFileDirectory)bin\$(Configuration)\$(TargetFramework)</WorkingDirectory>
  36. </PropertyGroup>
  37. <ItemGroup>
  38. <InputAssemblies Include="$(AssemblyName).dll" />
  39. <InputAssemblies Include="SevenZip.dll" />
  40. </ItemGroup>
  41. <ILRepack MainAssembly="$(AssemblyName).dll" Parallel="true" Internalize="true" OutputAssembly="$(AssemblyName).dll" InputAssemblies="@(InputAssemblies)" OutputType="Dll" WorkingDirectory="$(WorkingDirectory)" />
  42. </Target>
  43. </Project>