MediaBrowser.Controller.csproj 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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.8.13</VersionPrefix>
  10. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  11. <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
  12. </PropertyGroup>
  13. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  14. <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
  18. <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
  19. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
  20. <PackageReference Include="System.Threading.Tasks.Dataflow" Version="6.0.0" />
  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. </ItemGroup>
  27. <ItemGroup>
  28. <Compile Include="..\SharedVersion.cs" />
  29. </ItemGroup>
  30. <PropertyGroup>
  31. <TargetFramework>net6.0</TargetFramework>
  32. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  33. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  34. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  35. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  36. <IncludeSymbols>true</IncludeSymbols>
  37. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  38. </PropertyGroup>
  39. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  40. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  41. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  42. </PropertyGroup>
  43. <!-- Code Analyzers-->
  44. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  45. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3">
  46. <PrivateAssets>all</PrivateAssets>
  47. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  48. </PackageReference>
  49. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  50. <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406" PrivateAssets="All" />
  51. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  52. </ItemGroup>
  53. </Project>