BepInEx.Patcher.csproj 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <ItemGroup>
  50. <EmbeddedResource Include="..\bin\patcher\BepInEx.Bootstrap.dll" />
  51. </ItemGroup>
  52. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  53. <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
  54. <PropertyGroup>
  55. <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>
  56. </PropertyGroup>
  57. <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'))" />
  58. <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'))" />
  59. </Target>
  60. <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')" />
  61. </Project>