MediaBrowser.Controller.csproj 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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.7.5</VersionPrefix>
  10. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  11. <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="5.0.0" />
  15. <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="5.0.0" />
  16. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
  17. <PackageReference Include="System.Threading.Tasks.Dataflow" Version="5.0.0" />
  18. </ItemGroup>
  19. <ItemGroup>
  20. <ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
  21. <ProjectReference Include="..\MediaBrowser.Common\MediaBrowser.Common.csproj" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <Compile Include="..\SharedVersion.cs" />
  25. </ItemGroup>
  26. <PropertyGroup>
  27. <TargetFramework>net5.0</TargetFramework>
  28. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  29. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  30. <TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
  31. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  32. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  33. <IncludeSymbols>true</IncludeSymbols>
  34. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  35. </PropertyGroup>
  36. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  37. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  38. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  39. </PropertyGroup>
  40. <!-- Code Analyzers-->
  41. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  42. <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
  43. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  44. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  45. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  46. </ItemGroup>
  47. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  48. <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
  49. </PropertyGroup>
  50. </Project>