MediaBrowser.Controller.csproj 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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.0</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. <Nullable>enable</Nullable>
  32. <AnalysisMode Condition=" '$(Configuration)' == 'Debug' ">AllEnabledByDefault</AnalysisMode>
  33. <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
  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="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  46. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  47. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  48. </ItemGroup>
  49. </Project>