Jellyfin.Api.csproj 1.8 KB

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