MediaBrowser.Controller.csproj 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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="Microsoft.Extensions.Configuration.Abstractions" />
  18. <PackageReference Include="Microsoft.Extensions.Configuration.Binder" />
  19. <PackageReference Include="System.Threading.Tasks.Dataflow" />
  20. </ItemGroup>
  21. <ItemGroup>
  22. <ProjectReference Include="../Emby.Naming/Emby.Naming.csproj" />
  23. <ProjectReference Include="../MediaBrowser.Model/MediaBrowser.Model.csproj" />
  24. <ProjectReference Include="../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <Compile Include="..\SharedVersion.cs" />
  28. </ItemGroup>
  29. <PropertyGroup>
  30. <TargetFramework>net8.0</TargetFramework>
  31. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  32. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  33. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  34. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  35. <IncludeSymbols>true</IncludeSymbols>
  36. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  37. </PropertyGroup>
  38. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  39. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  40. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  41. </PropertyGroup>
  42. <!-- Code Analyzers -->
  43. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  44. <PackageReference Include="IDisposableAnalyzers">
  45. <PrivateAssets>all</PrivateAssets>
  46. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  47. </PackageReference>
  48. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  49. <PrivateAssets>all</PrivateAssets>
  50. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  51. </PackageReference>
  52. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  53. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  54. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  55. </ItemGroup>
  56. </Project>