MultipleMaids.csproj 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. <Reference Include="Newtonsoft.Josn">
  33. <HintPath>lib\Newtonsoft.Json.dll</HintPath>
  34. </Reference>
  35. </ItemGroup>
  36. <Target Name="ILRepack" AfterTargets="Build">
  37. <PropertyGroup>
  38. <WorkingDirectory>$(MSBuildThisFileDirectory)bin\$(Configuration)\$(TargetFramework)</WorkingDirectory>
  39. </PropertyGroup>
  40. <ItemGroup>
  41. <InputAssemblies Include="$(AssemblyName).dll" />
  42. <InputAssemblies Include="SevenZip.dll" />
  43. </ItemGroup>
  44. <ILRepack MainAssembly="$(AssemblyName).dll" Parallel="true" Internalize="true" OutputAssembly="$(AssemblyName).dll" InputAssemblies="@(InputAssemblies)" OutputType="Dll" WorkingDirectory="$(WorkingDirectory)" />
  45. </Target>
  46. </Project>