Jellyfin.Api.csproj 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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>net7.0</TargetFramework>
  8. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  9. <!-- https://github.com/microsoft/ApplicationInsights-dotnet/issues/2047 -->
  10. <NoWarn>AD0001</NoWarn>
  11. </PropertyGroup>
  12. <ItemGroup>
  13. <PackageReference Include="Microsoft.AspNetCore.Authorization" />
  14. <PackageReference Include="Microsoft.Extensions.Http" />
  15. <PackageReference Include="Swashbuckle.AspNetCore" />
  16. <PackageReference Include="Swashbuckle.AspNetCore.ReDoc" />
  17. </ItemGroup>
  18. <ItemGroup>
  19. <ProjectReference Include="..\Emby.Dlna\Emby.Dlna.csproj" />
  20. <ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />
  21. <ProjectReference Include="..\src\Jellyfin.MediaEncoding.Hls\Jellyfin.MediaEncoding.Hls.csproj" />
  22. </ItemGroup>
  23. <!-- Code Analyzers-->
  24. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  25. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  26. <PrivateAssets>all</PrivateAssets>
  27. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  28. </PackageReference>
  29. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  30. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  31. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  32. </ItemGroup>
  33. <ItemGroup>
  34. <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
  35. <_Parameter1>Jellyfin.Api.Tests</_Parameter1>
  36. </AssemblyAttribute>
  37. </ItemGroup>
  38. </Project>