MediaBrowser.Controller.csproj 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  14. <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
  15. </PropertyGroup>
  16. <ItemGroup>
  17. <PackageReference Include="Diacritics" Version="3.3.10" />
  18. <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="6.0.0" />
  19. <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
  20. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
  21. <PackageReference Include="System.Threading.Tasks.Dataflow" Version="6.0.0" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <ProjectReference Include="../Emby.Naming/Emby.Naming.csproj" />
  25. <ProjectReference Include="../MediaBrowser.Model/MediaBrowser.Model.csproj" />
  26. <ProjectReference Include="../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  27. </ItemGroup>
  28. <ItemGroup>
  29. <Compile Include="..\SharedVersion.cs" />
  30. </ItemGroup>
  31. <PropertyGroup>
  32. <TargetFramework>net6.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="Microsoft.CodeAnalysis.BannedApiAnalyzers" Version="3.3.3">
  47. <PrivateAssets>all</PrivateAssets>
  48. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  49. </PackageReference>
  50. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  51. <PackageReference Include="StyleCop.Analyzers" Version="1.2.0-beta.406" PrivateAssets="All" />
  52. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  53. </ItemGroup>
  54. </Project>