BepInEx.Patcher.csproj 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="..\packages\ILRepack.2.0.16\build\ILRepack.props" Condition="Exists('..\packages\ILRepack.2.0.16\build\ILRepack.props')" />
  4. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  5. <PropertyGroup>
  6. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  7. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  8. <ProjectGuid>{DC89F18B-235B-4C01-AB31-AF40DCE5C4C7}</ProjectGuid>
  9. <OutputType>Exe</OutputType>
  10. <RootNamespace>BepInEx.Patcher</RootNamespace>
  11. <AssemblyName>BepInEx.Patcher</AssemblyName>
  12. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  13. <FileAlignment>512</FileAlignment>
  14. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  15. <TargetFrameworkProfile />
  16. <NuGetPackageImportStamp>
  17. </NuGetPackageImportStamp>
  18. </PropertyGroup>
  19. <PropertyGroup>
  20. <StartupObject>BepInEx.Patcher.Program</StartupObject>
  21. </PropertyGroup>
  22. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  23. <DebugSymbols>true</DebugSymbols>
  24. <OutputPath>..\bin\patcher\</OutputPath>
  25. <DefineConstants>TRACE</DefineConstants>
  26. <Optimize>true</Optimize>
  27. <DebugType>embedded</DebugType>
  28. <PlatformTarget>AnyCPU</PlatformTarget>
  29. <ErrorReport>prompt</ErrorReport>
  30. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  31. </PropertyGroup>
  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. <Reference Include="System" />
  37. <Reference Include="System.Core" />
  38. </ItemGroup>
  39. <ItemGroup>
  40. <Compile Include="EmbeddedResource.cs" />
  41. <Compile Include="Program.cs" />
  42. <Compile Include="Properties\AssemblyInfo.cs" />
  43. </ItemGroup>
  44. <ItemGroup>
  45. <None Include="ILRepack.targets" />
  46. <None Include="packages.config" />
  47. </ItemGroup>
  48. <ItemGroup>
  49. <ProjectReference Include="..\BepInEx.Unity\BepInEx.Unity.csproj">
  50. <Project>{eae9fae6-8011-45a3-8b6e-0c7f14210533}</Project>
  51. <Name>BepInEx.Unity</Name>
  52. </ProjectReference>
  53. </ItemGroup>
  54. <ItemGroup>
  55. <EmbeddedResource Include="..\bin\patcher\BepInEx.Bootstrap.dll" />
  56. </ItemGroup>
  57. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  58. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  59. <PropertyGroup>
  60. <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>
  61. </PropertyGroup>
  62. <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'))" />
  63. <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'))" />
  64. </Target>
  65. <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')" />
  66. </Project>