MediaBrowser.Model.csproj 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. <PackageLicenseUrl>https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt</PackageLicenseUrl>
  10. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  11. </PropertyGroup>
  12. <PropertyGroup>
  13. <TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
  14. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  15. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  16. <TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
  17. <Nullable>enable</Nullable>
  18. <LangVersion>latest</LangVersion>
  19. </PropertyGroup>
  20. <ItemGroup>
  21. <PackageReference Include="Microsoft.AspNetCore.Http.Abstractions" Version="2.2.0" />
  22. <PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.6" />
  23. <PackageReference Include="System.Globalization" Version="4.3.0" />
  24. <PackageReference Include="System.Text.Json" Version="4.7.2" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <Compile Include="..\SharedVersion.cs" />
  28. </ItemGroup>
  29. <!-- Code Analyzers-->
  30. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  31. <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
  32. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  33. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  34. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  35. </ItemGroup>
  36. <ItemGroup>
  37. <ProjectReference Include="..\Jellyfin.Data\Jellyfin.Data.csproj" />
  38. </ItemGroup>
  39. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  40. <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
  41. </PropertyGroup>
  42. </Project>