MediaBrowser.Model.csproj 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{7EEEB4BB-F3E8-48FC-B4C5-70F0FFF8329B}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <Authors>Jellyfin Contributors</Authors>
  8. <PackageId>Jellyfin.Model</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>
  14. <TargetFramework>net5.0</TargetFramework>
  15. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  16. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  17. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  18. <Nullable>enable</Nullable>
  19. <!-- <AnalysisMode>AllEnabledByDefault</AnalysisMode> -->
  20. <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
  21. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  22. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  23. <IncludeSymbols>true</IncludeSymbols>
  24. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  25. </PropertyGroup>
  26. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  27. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  28. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  29. </PropertyGroup>
  30. <ItemGroup>
  31. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
  32. <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="5.0.0" />
  33. <PackageReference Include="System.Globalization" Version="4.3.0" />
  34. <PackageReference Include="System.Text.Json" Version="5.0.2" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <Compile Include="..\SharedVersion.cs" />
  38. </ItemGroup>
  39. <!-- Code Analyzers-->
  40. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  41. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  42. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  43. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  44. </ItemGroup>
  45. <ItemGroup>
  46. <ProjectReference Include="../Jellyfin.Data/Jellyfin.Data.csproj" />
  47. <ProjectReference Include="../src/Jellyfin.Extensions/Jellyfin.Extensions.csproj" />
  48. </ItemGroup>
  49. </Project>