MediaBrowser.Common.csproj 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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.8.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" Version="5.0.0" />
  19. <PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
  20. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
  21. </ItemGroup>
  22. <ItemGroup>
  23. <Compile Include="..\SharedVersion.cs" />
  24. </ItemGroup>
  25. <PropertyGroup>
  26. <TargetFramework>net5.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="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  41. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  42. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  43. </ItemGroup>
  44. <ItemGroup>
  45. <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
  46. <_Parameter1>Jellyfin.Common.Tests</_Parameter1>
  47. </AssemblyAttribute>
  48. </ItemGroup>
  49. </Project>