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>net6.0</TargetFramework>
  8. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  9. <!-- https://github.com/microsoft/ApplicationInsights-dotnet/issues/2047 -->
  10. <NoWarn>AD0001</NoWarn>
  11. </PropertyGroup>
  12. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  13. <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
  14. </PropertyGroup>
  15. <ItemGroup>
  16. <PackageReference Include="Microsoft.AspNetCore.Authorization" Version="6.0.1" />
  17. <PackageReference Include="Microsoft.Extensions.Http" Version="6.0.0" />
  18. <PackageReference Include="Swashbuckle.AspNetCore" Version="6.2.3" />
  19. <PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.2.3" />
  20. </ItemGroup>
  21. <ItemGroup>
  22. <ProjectReference Include="..\Emby.Dlna\Emby.Dlna.csproj" />
  23. <ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />
  24. <ProjectReference Include="..\src\Jellyfin.MediaEncoding.Hls\Jellyfin.MediaEncoding.Hls.csproj" />
  25. </ItemGroup>
  26. <!-- Code Analyzers-->
  27. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  28. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  29. <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.376" PrivateAssets="All" />
  30. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" 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>