Directory.Build.props 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. <DebugSymbols>true</DebugSymbols>
  12. <Optimize>false</Optimize>
  13. </PropertyGroup>
  14. <PropertyGroup Condition=" $(Configuration.StartsWith('Release')) ">
  15. <DebugSymbols>false</DebugSymbols>
  16. <Optimize>true</Optimize>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" $(Configuration.EndsWith('COM25')) ">
  19. <DefineConstants>COM25</DefineConstants>
  20. </PropertyGroup>
  21. <ItemGroup>
  22. <PackageReference Include="COM3D2.GameLibs" Version="2.17.0-r.0" Condition="!$(DefineConstants.Contains(COM25))" />
  23. <PackageReference Include="COM3D2.GameLibs" Version="3.16.0-r.0" Condition="$(DefineConstants.Contains(COM25))" />
  24. <PackageReference Include="UnityEngine" Version="5.6.1" />
  25. <PackageReference Include="BepInEx.BaseLib" Version="5.4.19" />
  26. <PackageReference Include="HarmonyX" Version="2.9.0" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <PackageReference Include="Microsoft.Unity.Analyzers" Version="1.13.0">
  30. <PrivateAssets>all</PrivateAssets>
  31. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  32. </PackageReference>
  33. <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406">
  34. <PrivateAssets>all</PrivateAssets>
  35. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  36. </PackageReference>
  37. </ItemGroup>
  38. <ItemGroup>
  39. <AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" Link="stylecop.json" />
  40. </ItemGroup>
  41. </Project>