BepInEx.csproj 3.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
  4. <PropertyGroup>
  5. <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  6. <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  7. <ProjectGuid>{4FFBA620-F5ED-47F9-B90C-DAD1316FD9B9}</ProjectGuid>
  8. <OutputType>Library</OutputType>
  9. <RootNamespace>BepInEx</RootNamespace>
  10. <AssemblyName>BepInEx</AssemblyName>
  11. <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
  12. <FileAlignment>512</FileAlignment>
  13. <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
  14. <TargetFrameworkProfile />
  15. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
  17. <PlatformTarget>AnyCPU</PlatformTarget>
  18. <DebugType>none</DebugType>
  19. <Optimize>true</Optimize>
  20. <OutputPath>..\bin\</OutputPath>
  21. <DefineConstants>TRACE;CECIL_10</DefineConstants>
  22. <ErrorReport>prompt</ErrorReport>
  23. <WarningLevel>4</WarningLevel>
  24. </PropertyGroup>
  25. <PropertyGroup>
  26. <StartupObject />
  27. </PropertyGroup>
  28. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Cecil 0.9.6_Release|AnyCPU'">
  29. <OutputPath>..\bin\</OutputPath>
  30. <DefineConstants>TRACE;CECIL_9</DefineConstants>
  31. <Optimize>true</Optimize>
  32. <PlatformTarget>AnyCPU</PlatformTarget>
  33. <ErrorReport>prompt</ErrorReport>
  34. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  35. </PropertyGroup>
  36. <ItemGroup>
  37. <Reference Include="0Harmony">
  38. <HintPath>..\lib\0Harmony.dll</HintPath>
  39. </Reference>
  40. <Reference Include="Mono.Cecil" Condition="$(DefineConstants.Contains('CECIL_9'))">
  41. <HintPath>..\lib\Cecil 9\Mono.Cecil.dll</HintPath>
  42. </Reference>
  43. <Reference Include="Mono.Cecil" Condition="$(DefineConstants.Contains('CECIL_10'))">
  44. <HintPath>..\lib\Cecil 10\Mono.Cecil.dll</HintPath>
  45. </Reference>
  46. <Reference Include="System" />
  47. <Reference Include="System.Xml" />
  48. <Reference Include="UnityEngine">
  49. <HintPath>..\lib\UnityEngine.dll</HintPath>
  50. <Private>False</Private>
  51. </Reference>
  52. </ItemGroup>
  53. <ItemGroup>
  54. <Compile Include="Contract\Attributes.cs" />
  55. <Compile Include="Bootstrap\AssemblyPatcher.cs" />
  56. <Compile Include="Bootstrap\Preloader.cs" />
  57. <Compile Include="Config.cs" />
  58. <Compile Include="ConfigWrapper.cs" />
  59. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.Buffers.cs" />
  60. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.cs" />
  61. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.PInvoke.cs" />
  62. <Compile Include="ConsoleUtil\ConsoleWindow.cs" />
  63. <Compile Include="ConsoleUtil\Kon.cs" />
  64. <Compile Include="ConsoleUtil\SafeConsole.cs" />
  65. <Compile Include="Bootstrap\Chainloader.cs" />
  66. <Compile Include="Contract\BaseUnityPlugin.cs" />
  67. <Compile Include="Deprecated\BepInLogger.cs" />
  68. <Compile Include="Logging\BaseLogger.cs" />
  69. <Compile Include="Logging\Logger.cs" />
  70. <Compile Include="Logging\LogLevel.cs" />
  71. <Compile Include="Logging\PreloaderLogWriter.cs" />
  72. <Compile Include="Logging\LoggerTraceListener.cs" />
  73. <Compile Include="Logging\UnityLogWriter.cs" />
  74. <Compile Include="Properties\AssemblyInfo.cs" />
  75. <Compile Include="Bootstrap\TypeLoader.cs" />
  76. </ItemGroup>
  77. <ItemGroup />
  78. <Import Project="..\BepInEx.Common\BepInEx.Common.projitems" Label="Shared" />
  79. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  80. </Project>