Jellyfin.Common.Tests.csproj 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{DF194677-DFD3-42AF-9F75-D44D5A416478}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <TargetFramework>net7.0</TargetFramework>
  8. <IsPackable>false</IsPackable>
  9. <CodeAnalysisRuleSet>../jellyfin-tests.ruleset</CodeAnalysisRuleSet>
  10. </PropertyGroup>
  11. <ItemGroup>
  12. <PackageReference Include="Microsoft.NET.Test.Sdk" />
  13. <PackageReference Include="xunit" />
  14. <PackageReference Include="xunit.runner.visualstudio">
  15. <PrivateAssets>all</PrivateAssets>
  16. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  17. </PackageReference>
  18. <PackageReference Include="coverlet.collector" />
  19. <PackageReference Include="FsCheck.Xunit" />
  20. </ItemGroup>
  21. <!-- Code Analyzers -->
  22. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  23. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  24. <PrivateAssets>all</PrivateAssets>
  25. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  26. </PackageReference>
  27. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  28. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  29. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  30. </ItemGroup>
  31. <ItemGroup>
  32. <ProjectReference Include="../../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  33. <ProjectReference Include="../../MediaBrowser.Providers/MediaBrowser.Providers.csproj" />
  34. </ItemGroup>
  35. </Project>