Jellyfin.Server.csproj 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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>net9.0</TargetFramework>
  10. <ServerGarbageCollection>false</ServerGarbageCollection>
  11. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  12. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  13. <ApplicationIcon>Jellyfin.Server.ico</ApplicationIcon>
  14. </PropertyGroup>
  15. <ItemGroup>
  16. <Compile Include="..\SharedVersion.cs" />
  17. </ItemGroup>
  18. <ItemGroup>
  19. <Content Include="Jellyfin.Server.ico" />
  20. </ItemGroup>
  21. <ItemGroup>
  22. <EmbeddedResource Include="Resources/Configuration/*" />
  23. </ItemGroup>
  24. <!-- Code Analyzers -->
  25. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  26. <PackageReference Include="IDisposableAnalyzers">
  27. <PrivateAssets>all</PrivateAssets>
  28. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  29. </PackageReference>
  30. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  31. <PrivateAssets>all</PrivateAssets>
  32. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  33. </PackageReference>
  34. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  35. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  36. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  37. </ItemGroup>
  38. <ItemGroup>
  39. <PackageReference Include="CommandLineParser" />
  40. <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" />
  41. <PackageReference Include="Microsoft.Extensions.Configuration.Json" />
  42. <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" />
  43. <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks.EntityFrameworkCore" />
  44. <PackageReference Include="prometheus-net" />
  45. <PackageReference Include="prometheus-net.AspNetCore" />
  46. <PackageReference Include="Serilog.AspNetCore" />
  47. <PackageReference Include="Serilog.Enrichers.Thread" />
  48. <PackageReference Include="Serilog.Settings.Configuration" />
  49. <PackageReference Include="Serilog.Sinks.Async" />
  50. <PackageReference Include="Serilog.Sinks.Console" />
  51. <PackageReference Include="Serilog.Sinks.File" />
  52. <PackageReference Include="Serilog.Sinks.Graylog" />
  53. </ItemGroup>
  54. <ItemGroup>
  55. <ProjectReference Include="..\src\Jellyfin.Drawing\Jellyfin.Drawing.csproj" />
  56. <ProjectReference Include="..\Emby.Server.Implementations\Emby.Server.Implementations.csproj" />
  57. <ProjectReference Include="..\src\Jellyfin.Drawing.Skia\Jellyfin.Drawing.Skia.csproj" />
  58. <ProjectReference Include="..\src\Jellyfin.LiveTv\Jellyfin.LiveTv.csproj" />
  59. <ProjectReference Include="..\Jellyfin.Server.Implementations\Jellyfin.Server.Implementations.csproj" />
  60. <ProjectReference Include="..\src\Jellyfin.MediaEncoding.Hls\Jellyfin.MediaEncoding.Hls.csproj" />
  61. <ProjectReference Include="..\src\Jellyfin.Database\Jellyfin.Database.Implementations\Jellyfin.Database.Implementations.csproj" />
  62. </ItemGroup>
  63. <ItemGroup>
  64. <None Update="wwwroot\api-docs\redoc\custom.css">
  65. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  66. </None>
  67. <None Update="wwwroot\api-docs\swagger\custom.css">
  68. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  69. </None>
  70. <None Update="wwwroot\api-docs\banner-dark.svg">
  71. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  72. </None>
  73. </ItemGroup>
  74. </Project>