Jellyfin.Networking.Tests.csproj 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. <Nullable>enable</Nullable>
  10. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  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.1" />
  16. <PackageReference Include="coverlet.collector" Version="1.3.0" />
  17. <PackageReference Include="Moq" Version="4.15.2" />
  18. </ItemGroup>
  19. <!-- Code Analyzers-->
  20. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  21. <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
  22. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  23. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <ProjectReference Include="..\..\..\Emby.Server.Implementations\Emby.Server.Implementations.csproj" />
  27. <ProjectReference Include="..\..\..\MediaBrowser.Common\MediaBrowser.Common.csproj" />
  28. </ItemGroup>
  29. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  30. <CodeAnalysisRuleSet>../../jellyfin-tests.ruleset</CodeAnalysisRuleSet>
  31. </PropertyGroup>
  32. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  33. <DefineConstants>DEBUG</DefineConstants>
  34. </PropertyGroup>
  35. </Project>