Jellyfin.Server.csproj 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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>net8.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. </ItemGroup>
  62. <ItemGroup>
  63. <None Update="wwwroot\api-docs\redoc\custom.css">
  64. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  65. </None>
  66. <None Update="wwwroot\api-docs\swagger\custom.css">
  67. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  68. </None>
  69. <None Update="wwwroot\api-docs\banner-dark.svg">
  70. <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
  71. </None>
  72. </ItemGroup>
  73. </Project>