MediaBrowser.Common.csproj 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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.9.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. <PackageReference Include="Microsoft.SourceLink.GitHub" PrivateAssets="All" />
  21. </ItemGroup>
  22. <ItemGroup>
  23. <Compile Include="..\SharedVersion.cs" />
  24. </ItemGroup>
  25. <PropertyGroup>
  26. <TargetFramework>net8.0</TargetFramework>
  27. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  28. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  29. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  30. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  31. <IncludeSymbols>true</IncludeSymbols>
  32. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  33. </PropertyGroup>
  34. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  35. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  36. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  37. </PropertyGroup>
  38. <!-- Code Analyzers -->
  39. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  40. <PackageReference Include="IDisposableAnalyzers">
  41. <PrivateAssets>all</PrivateAssets>
  42. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  43. </PackageReference>
  44. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  45. <PrivateAssets>all</PrivateAssets>
  46. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  47. </PackageReference>
  48. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  49. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  50. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  51. </ItemGroup>
  52. <ItemGroup>
  53. <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
  54. <_Parameter1>Jellyfin.Common.Tests</_Parameter1>
  55. </AssemblyAttribute>
  56. </ItemGroup>
  57. </Project>