Jellyfin.Networking.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>{42816EA8-4511-4CBF-A9C7-7791D5DDDAE6}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <TargetFramework>net5.0</TargetFramework>
  8. <IsPackable>false</IsPackable>
  9. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  10. <Nullable>enable</Nullable>
  11. <AnalysisMode>AllEnabledByDefault</AnalysisMode>
  12. <CodeAnalysisRuleSet>../jellyfin-tests.ruleset</CodeAnalysisRuleSet>
  13. </PropertyGroup>
  14. <ItemGroup>
  15. <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" />
  16. <PackageReference Include="xunit" Version="2.4.1" />
  17. <PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
  18. <PackageReference Include="coverlet.collector" Version="3.0.3" />
  19. <PackageReference Include="Moq" Version="4.16.1" />
  20. </ItemGroup>
  21. <!-- Code Analyzers-->
  22. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  23. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  24. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  25. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  26. </ItemGroup>
  27. <ItemGroup>
  28. <ProjectReference Include="../../Emby.Server.Implementations/Emby.Server.Implementations.csproj" />
  29. <ProjectReference Include="../../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  30. </ItemGroup>
  31. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  32. <DefineConstants>DEBUG</DefineConstants>
  33. </PropertyGroup>
  34. </Project>