BepInEx.Patcher.csproj 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <OutputType>Exe</OutputType>
  4. <TargetFramework>net35</TargetFramework>
  5. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  6. <AssemblyTitle>BepInEx.Patcher</AssemblyTitle>
  7. <Product>BepInEx.Patcher</Product>
  8. <Copyright>Copyright © Bepis 2018</Copyright>
  9. <AssemblyVersion>5.0.0.0</AssemblyVersion>
  10. <FileVersion>5.0.0.0</FileVersion>
  11. <DebugType>embedded</DebugType>
  12. <DebugSymbols>true</DebugSymbols>
  13. <OutputPath>..\bin\patcher\</OutputPath>
  14. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  15. </PropertyGroup>
  16. <PropertyGroup>
  17. <StartupObject>BepInEx.Patcher.Program</StartupObject>
  18. </PropertyGroup>
  19. <Import Project="$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets" Condition="Exists('$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets')" />
  20. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  21. <PropertyGroup>
  22. <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
  23. </PropertyGroup>
  24. <Error Condition="!Exists('$(SolutionDir)\packages\ILRepack.2.0.16\build\ILRepack.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\ILRepack.2.0.16\build\ILRepack.props'))" />
  25. <Error Condition="!Exists('$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\ILRepack.Lib.MSBuild.Task.2.0.16.1\build\ILRepack.Lib.MSBuild.Task.targets'))" />
  26. </Target>
  27. <ItemGroup>
  28. <PackageReference Include="ILRepack" Version="2.0.16" />
  29. <PackageReference Include="ILRepack.Lib.MSBuild.Task" Version="2.0.16.1" />
  30. <PackageReference Include="Mono.Cecil" Version="0.10.3" />
  31. </ItemGroup>
  32. <ItemGroup>
  33. <Reference Include="Mono.Cecil, Version=0.10.3.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e, processorArchitecture=MSIL">
  34. <HintPath>$(SolutionDir)\packages\Mono.Cecil.0.10.3\lib\net35\Mono.Cecil.dll</HintPath>
  35. </Reference>
  36. </ItemGroup>
  37. <ItemGroup>
  38. <None Include="ILRepack.targets" />
  39. </ItemGroup>
  40. <ItemGroup>
  41. <ProjectReference Include="..\BepInEx.Unity\BepInEx.Unity.csproj" />
  42. </ItemGroup>
  43. <ItemGroup>
  44. <EmbeddedResource Include="..\bin\patcher\BepInEx.Bootstrap.dll" />
  45. </ItemGroup>
  46. </Project>