Jellyfin.Api.csproj 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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="..\MediaBrowser.MediaEncoding\MediaBrowser.MediaEncoding.csproj" />
  22. <ProjectReference Include="..\src\Jellyfin.MediaEncoding.Hls\Jellyfin.MediaEncoding.Hls.csproj" />
  23. </ItemGroup>
  24. <!-- Code Analyzers-->
  25. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  26. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  27. <PrivateAssets>all</PrivateAssets>
  28. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  29. </PackageReference>
  30. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  31. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  32. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  33. </ItemGroup>
  34. <ItemGroup>
  35. <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
  36. <_Parameter1>Jellyfin.Api.Tests</_Parameter1>
  37. </AssemblyAttribute>
  38. </ItemGroup>
  39. </Project>