Jellyfin.Api.csproj 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{DFBEFB4C-DA19-4143-98B7-27320C7F7163}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <TargetFramework>net9.0</TargetFramework>
  8. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  9. </PropertyGroup>
  10. <ItemGroup>
  11. <PackageReference Include="Microsoft.AspNetCore.Authorization" />
  12. <PackageReference Include="Microsoft.Extensions.Http" />
  13. <PackageReference Include="Swashbuckle.AspNetCore" />
  14. <PackageReference Include="Swashbuckle.AspNetCore.ReDoc" />
  15. </ItemGroup>
  16. <ItemGroup>
  17. <ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />
  18. <ProjectReference Include="..\MediaBrowser.MediaEncoding\MediaBrowser.MediaEncoding.csproj" />
  19. <ProjectReference Include="..\src\Jellyfin.MediaEncoding.Hls\Jellyfin.MediaEncoding.Hls.csproj" />
  20. <ProjectReference Include="..\src\Jellyfin.Networking\Jellyfin.Networking.csproj" />
  21. </ItemGroup>
  22. <!-- Code Analyzers -->
  23. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  24. <PackageReference Include="IDisposableAnalyzers">
  25. <PrivateAssets>all</PrivateAssets>
  26. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  27. </PackageReference>
  28. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  29. <PrivateAssets>all</PrivateAssets>
  30. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  31. </PackageReference>
  32. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  33. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  34. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
  38. <_Parameter1>Jellyfin.Api.Tests</_Parameter1>
  39. </AssemblyAttribute>
  40. </ItemGroup>
  41. </Project>