Jellyfin.Networking.Tests.csproj 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.10.0" />
  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="FsCheck.Xunit" Version="2.15.3" />
  20. <PackageReference Include="Moq" Version="4.16.1" />
  21. </ItemGroup>
  22. <!-- Code Analyzers-->
  23. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  24. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  25. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  26. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <ProjectReference Include="../../Emby.Server.Implementations/Emby.Server.Implementations.csproj" />
  30. <ProjectReference Include="../../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  31. </ItemGroup>
  32. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
  33. <DefineConstants>DEBUG</DefineConstants>
  34. </PropertyGroup>
  35. </Project>