MediaBrowser.Controller.csproj 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{17E1F4E6-8ABD-4FE5-9ECF-43D4B6087BA2}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <Authors>Jellyfin Contributors</Authors>
  8. <PackageId>Jellyfin.Controller</PackageId>
  9. <VersionPrefix>10.11.0</VersionPrefix>
  10. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  11. <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
  12. </PropertyGroup>
  13. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  14. <CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <PackageReference Include="BitFaster.Caching" />
  18. <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" />
  19. <PackageReference Include="Microsoft.Extensions.Configuration.Binder" />
  20. <PackageReference Include="System.Threading.Tasks.Dataflow" />
  21. </ItemGroup>
  22. <ItemGroup>
  23. <ProjectReference Include="../Emby.Naming/Emby.Naming.csproj" />
  24. <ProjectReference Include="../MediaBrowser.Model/MediaBrowser.Model.csproj" />
  25. <ProjectReference Include="../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  26. <ProjectReference Include="../src/Jellyfin.MediaEncoding.Keyframes/Jellyfin.MediaEncoding.Keyframes.csproj" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <Compile Include="..\SharedVersion.cs" />
  30. </ItemGroup>
  31. <PropertyGroup>
  32. <TargetFramework>net9.0</TargetFramework>
  33. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  34. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  35. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  36. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  37. <IncludeSymbols>true</IncludeSymbols>
  38. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  39. </PropertyGroup>
  40. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  41. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  42. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  43. </PropertyGroup>
  44. <!-- Code Analyzers -->
  45. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  46. <PackageReference Include="IDisposableAnalyzers">
  47. <PrivateAssets>all</PrivateAssets>
  48. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  49. </PackageReference>
  50. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  51. <PrivateAssets>all</PrivateAssets>
  52. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  53. </PackageReference>
  54. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  55. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  56. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  57. </ItemGroup>
  58. </Project>