BepInEx.csproj 4.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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</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)' == 'Debug|AnyCPU'">
  31. <OutputPath>..\bin\</OutputPath>
  32. <DefineConstants>TRACE;DEBUG</DefineConstants>
  33. <Optimize>true</Optimize>
  34. <PlatformTarget>AnyCPU</PlatformTarget>
  35. <ErrorReport>prompt</ErrorReport>
  36. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  37. <DebugSymbols>false</DebugSymbols>
  38. <DocumentationFile>..\bin\BepInEx.xml</DocumentationFile>
  39. </PropertyGroup>
  40. <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'v2018|AnyCPU'">
  41. <OutputPath>..\bin\</OutputPath>
  42. <DefineConstants>TRACE;UNITY_2018</DefineConstants>
  43. <Optimize>true</Optimize>
  44. <PlatformTarget>AnyCPU</PlatformTarget>
  45. <ErrorReport>prompt</ErrorReport>
  46. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  47. </PropertyGroup>
  48. <ItemGroup>
  49. <Reference Include="Mono.Cecil">
  50. <HintPath>..\lib\Mono.Cecil.dll</HintPath>
  51. </Reference>
  52. <Reference Include="System" />
  53. <Reference Include="UnityEngine">
  54. <HintPath>..\lib\UnityEngine.dll</HintPath>
  55. <Private>False</Private>
  56. </Reference>
  57. </ItemGroup>
  58. <ItemGroup>
  59. <Compile Include="Contract\Attributes.cs" />
  60. <Compile Include="Config.cs" />
  61. <Compile Include="ConfigWrapper.cs" />
  62. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.Buffers.cs" />
  63. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.cs" />
  64. <Compile Include="ConsoleUtil\ConsoleEncoding\ConsoleEncoding.PInvoke.cs" />
  65. <Compile Include="ConsoleUtil\ConsoleWindow.cs" />
  66. <Compile Include="ConsoleUtil\Kon.cs" />
  67. <Compile Include="ConsoleUtil\SafeConsole.cs" />
  68. <Compile Include="Bootstrap\Chainloader.cs" />
  69. <Compile Include="Contract\BaseUnityPlugin.cs" />
  70. <Compile Include="Deprecated\BepInLogger.cs" />
  71. <Compile Include="Deprecated\Utility.cs" />
  72. <Compile Include="Logging\BaseLogger.cs" />
  73. <Compile Include="Logging\Logger.cs" />
  74. <Compile Include="Logging\LogLevel.cs" />
  75. <Compile Include="Logging\PreloaderLogWriter.cs" />
  76. <Compile Include="Logging\LoggerTraceListener.cs" />
  77. <Compile Include="Logging\UnityLogWriter.cs" />
  78. <Compile Include="Paths.cs" />
  79. <Compile Include="Properties\AssemblyInfo.cs" />
  80. <Compile Include="Bootstrap\TypeLoader.cs" />
  81. <Compile Include="Utility.cs" />
  82. </ItemGroup>
  83. <ItemGroup>
  84. <ProjectReference Include="..\submodules\BepInEx.Harmony\submodules\Harmony\Harmony\Harmony.csproj">
  85. <Project>{a15d6ee6-f954-415b-8605-8a8470cc87dc}</Project>
  86. <Name>Harmony</Name>
  87. </ProjectReference>
  88. <ProjectReference Include="..\submodules\BepInEx.Harmony\BepInEx.Harmony\BepInEx.Harmony.csproj">
  89. <Project>{54161cfe-ff42-4dde-b161-3a49545db5cd}</Project>
  90. <Name>BepInEx.Harmony</Name>
  91. </ProjectReference>
  92. </ItemGroup>
  93. <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
  94. </Project>