Directory.Build.props 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <Project>
  2. <PropertyGroup>
  3. <TargetFramework>net35</TargetFramework>
  4. <LangVersion>10</LangVersion>
  5. <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
  6. <CodeAnalysisRuleSet>$(MSBuildThisFileDirectory)StyleCop.ruleset</CodeAnalysisRuleSet>
  7. <Platforms>AnyCPU</Platforms>
  8. <Configurations>Debug-COM25;Release-COM25;Release;Debug</Configurations>
  9. </PropertyGroup>
  10. <PropertyGroup Condition=" $(Configuration.StartsWith('Debug')) ">
  11. <DefineConstants>DEBUG</DefineConstants>
  12. <DebugSymbols>true</DebugSymbols>
  13. <Optimize>false</Optimize>
  14. </PropertyGroup>
  15. <PropertyGroup Condition=" $(Configuration.StartsWith('Release')) ">
  16. <DebugSymbols>false</DebugSymbols>
  17. <Optimize>true</Optimize>
  18. </PropertyGroup>
  19. <PropertyGroup Condition=" $(Configuration.EndsWith('COM25')) ">
  20. <DefineConstants>$(DefineConstants);COM25</DefineConstants>
  21. </PropertyGroup>
  22. <ItemGroup>
  23. <PackageReference Include="COM3D2.GameLibs" Version="2.17.0-r.0" Condition="!$(DefineConstants.Contains(COM25))" />
  24. <PackageReference Include="COM3D2.GameLibs" Version="3.16.0-r.0" Condition="$(DefineConstants.Contains(COM25))" />
  25. <PackageReference Include="UnityEngine" Version="5.6.1" />
  26. <PackageReference Include="BepInEx.BaseLib" Version="5.4.19" />
  27. <PackageReference Include="HarmonyX" Version="2.9.0" />
  28. </ItemGroup>
  29. <ItemGroup>
  30. <PackageReference Include="Microsoft.Unity.Analyzers" Version="1.13.0">
  31. <PrivateAssets>all</PrivateAssets>
  32. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  33. </PackageReference>
  34. <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406">
  35. <PrivateAssets>all</PrivateAssets>
  36. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  37. </PackageReference>
  38. </ItemGroup>
  39. <ItemGroup>
  40. <AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" />
  41. </ItemGroup>
  42. </Project>