Jellyfin.Controller.Tests.csproj 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{462584F7-5023-4019-9EAC-B98CA458C0A0}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <TargetFramework>net5.0</TargetFramework>
  8. <IsPackable>false</IsPackable>
  9. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  10. <Nullable>enable</Nullable>
  11. </PropertyGroup>
  12. <ItemGroup>
  13. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.0" />
  14. <PackageReference Include="xunit" Version="2.4.1" />
  15. <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3" />
  16. <PackageReference Include="coverlet.collector" Version="1.3.0" />
  17. </ItemGroup>
  18. <!-- Code Analyzers -->
  19. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  20. <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
  21. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  22. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  23. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <ProjectReference Include="../../MediaBrowser.Controller/MediaBrowser.Controller.csproj" />
  27. </ItemGroup>
  28. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  29. <CodeAnalysisRuleSet>../jellyfin-tests.ruleset</CodeAnalysisRuleSet>
  30. </PropertyGroup>
  31. </Project>