MediaBrowser.Common.csproj 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{9142EEFA-7570-41E1-BFCC-468BB571AF2F}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <Authors>Jellyfin Contributors</Authors>
  8. <PackageId>Jellyfin.Common</PackageId>
  9. <VersionPrefix>10.11.0</VersionPrefix>
  10. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  11. <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
  12. </PropertyGroup>
  13. <ItemGroup>
  14. <FrameworkReference Include="Microsoft.AspNetCore.App" />
  15. <ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
  16. </ItemGroup>
  17. <ItemGroup>
  18. <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" />
  19. <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" />
  20. </ItemGroup>
  21. <ItemGroup>
  22. <Compile Include="..\SharedVersion.cs" />
  23. </ItemGroup>
  24. <PropertyGroup>
  25. <TargetFramework>net8.0</TargetFramework>
  26. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  27. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  28. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  29. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  30. <IncludeSymbols>true</IncludeSymbols>
  31. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  32. </PropertyGroup>
  33. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  34. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  35. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  36. </PropertyGroup>
  37. <!-- Code Analyzers -->
  38. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  39. <PackageReference Include="IDisposableAnalyzers">
  40. <PrivateAssets>all</PrivateAssets>
  41. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  42. </PackageReference>
  43. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  44. <PrivateAssets>all</PrivateAssets>
  45. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  46. </PackageReference>
  47. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  48. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  49. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  50. </ItemGroup>
  51. <ItemGroup>
  52. <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
  53. <_Parameter1>Jellyfin.Common.Tests</_Parameter1>
  54. </AssemblyAttribute>
  55. </ItemGroup>
  56. </Project>