BepInEx.csproj 3.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. <DocumentationFile>
  25. </DocumentationFile>
  26. </PropertyGroup>
  27. <PropertyGroup>
  28. <StartupObject />
  29. </PropertyGroup>
  30. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Cecil 0.9.6_Release|AnyCPU'">
  31. <OutputPath>..\bin\</OutputPath>
  32. <DefineConstants>TRACE;CECIL_9</DefineConstants>
  33. <Optimize>true</Optimize>
  34. <PlatformTarget>AnyCPU</PlatformTarget>
  35. <ErrorReport>prompt</ErrorReport>
  36. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  37. </PropertyGroup>
  38. <ItemGroup>
  39. <Reference Include="0Harmony">
  40. <HintPath>..\lib\0Harmony.dll</HintPath>
  41. </Reference>
  42. <Reference Include="Mono.Cecil" Condition="$(DefineConstants.Contains('CECIL_9'))">
  43. <HintPath>..\lib\Cecil 9\Mono.Cecil.dll</HintPath>
  44. </Reference>
  45. <Reference Include="Mono.Cecil" Condition="$(DefineConstants.Contains('CECIL_10'))">
  46. <HintPath>..\lib\Cecil 10\Mono.Cecil.dll</HintPath>
  47. </Reference>
  48. <Reference Include="System" />
  49. <Reference Include="System.Xml" />
  50. <Reference Include="UnityEngine">
  51. <HintPath>..\lib\UnityEngine.dll</HintPath>
  52. <Private>False</Private>
  53. </Reference>
  54. </ItemGroup>
  55. <ItemGroup>
  56. <Compile Include="Contract\Attributes.cs" />
  57. <Compile Include="Bootstrap\AssemblyPatcher.cs" />
  58. <Compile Include="Bootstrap\Preloader.cs" />
  59. <Compile Include="Config.cs" />
  60. <Compile Include="ConfigWrapper.cs" />
  61. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.Buffers.cs" />
  62. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.cs" />
  63. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.PInvoke.cs" />
  64. <Compile Include="ConsoleUtil\ConsoleWindow.cs" />
  65. <Compile Include="ConsoleUtil\Kon.cs" />
  66. <Compile Include="ConsoleUtil\SafeConsole.cs" />
  67. <Compile Include="Bootstrap\Chainloader.cs" />
  68. <Compile Include="Contract\BaseUnityPlugin.cs" />
  69. <Compile Include="Deprecated\BepInLogger.cs" />
  70. <Compile Include="Logging\BaseLogger.cs" />
  71. <Compile Include="Logging\Logger.cs" />
  72. <Compile Include="Logging\LogLevel.cs" />
  73. <Compile Include="Logging\PreloaderLogWriter.cs" />
  74. <Compile Include="Logging\LoggerTraceListener.cs" />
  75. <Compile Include="Logging\UnityLogWriter.cs" />
  76. <Compile Include="Properties\AssemblyInfo.cs" />
  77. <Compile Include="Bootstrap\TypeLoader.cs" />
  78. </ItemGroup>
  79. <ItemGroup />
  80. <Import Project="..\BepInEx.Common\BepInEx.Common.projitems" Label="Shared" />
  81. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  82. </Project>