Jellyfin.Server.csproj 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <Project Sdk="Microsoft.NET.Sdk.Web">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{07E39F42-A2C6-4B32-AF8C-725F957A73FF}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <AssemblyName>jellyfin</AssemblyName>
  8. <OutputType>Exe</OutputType>
  9. <TargetFramework>net7.0</TargetFramework>
  10. <ServerGarbageCollection>false</ServerGarbageCollection>
  11. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  12. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  13. </PropertyGroup>
  14. <ItemGroup>
  15. <Compile Include="..\SharedVersion.cs" />
  16. </ItemGroup>
  17. <ItemGroup>
  18. <EmbeddedResource Include="Resources/Configuration/*" />
  19. </ItemGroup>
  20. <!-- Code Analyzers-->
  21. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  22. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  23. <PrivateAssets>all</PrivateAssets>
  24. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  25. </PackageReference>
  26. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  27. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  28. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  29. </ItemGroup>
  30. <ItemGroup>
  31. <PackageReference Include="CommandLineParser" />
  32. <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" />
  33. <PackageReference Include="Microsoft.Extensions.Configuration.Json" />
  34. <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" />
  35. <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" />
  36. <PackageReference Include="prometheus-net" />
  37. <PackageReference Include="prometheus-net.AspNetCore" />
  38. <PackageReference Include="Serilog.AspNetCore" />
  39. <PackageReference Include="Serilog.Enrichers.Thread" />
  40. <PackageReference Include="Serilog.Settings.Configuration" />
  41. <PackageReference Include="Serilog.Sinks.Async" />
  42. <PackageReference Include="Serilog.Sinks.Console" />
  43. <PackageReference Include="Serilog.Sinks.File" />
  44. <PackageReference Include="Serilog.Sinks.Graylog" />
  45. </ItemGroup>
  46. <ItemGroup>
  47. <ProjectReference Include="..\src\Jellyfin.Drawing\Jellyfin.Drawing.csproj" />
  48. <ProjectReference Include="..\Emby.Server.Implementations\Emby.Server.Implementations.csproj" />
  49. <ProjectReference Include="..\src\Jellyfin.Drawing.Skia\Jellyfin.Drawing.Skia.csproj" />
  50. <ProjectReference Include="..\Jellyfin.Server.Implementations\Jellyfin.Server.Implementations.csproj" />
  51. <ProjectReference Include="..\src\Jellyfin.MediaEncoding.Hls\Jellyfin.MediaEncoding.Hls.csproj" />
  52. </ItemGroup>
  53. <ItemGroup>
  54. <None Update="wwwroot\api-docs\redoc\custom.css">
  55. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  56. </None>
  57. <None Update="wwwroot\api-docs\swagger\custom.css">
  58. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  59. </None>
  60. <None Update="wwwroot\api-docs\banner-dark.svg">
  61. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  62. </None>
  63. </ItemGroup>
  64. </Project>