MediaBrowser.Controller.csproj 2.7 KB

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