Jellyfin.Database.Implementations.csproj 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <PropertyGroup>
  3. <TargetFramework>net9.0</TargetFramework>
  4. <ImplicitUsings>enable</ImplicitUsings>
  5. <Nullable>enable</Nullable>
  6. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  7. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  8. </PropertyGroup>
  9. <!-- Code Analyzers -->
  10. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  11. <PackageReference Include="IDisposableAnalyzers">
  12. <PrivateAssets>all</PrivateAssets>
  13. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  14. </PackageReference>
  15. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  16. <PrivateAssets>all</PrivateAssets>
  17. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  18. </PackageReference>
  19. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  20. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  21. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <Compile Include="..\..\SharedVersion.cs" />
  25. </ItemGroup>
  26. <ItemGroup>
  27. <PackageReference Include="Microsoft.EntityFrameworkCore.Relational" />
  28. <PackageReference Include="Microsoft.EntityFrameworkCore.Design">
  29. <PrivateAssets>all</PrivateAssets>
  30. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  31. </PackageReference>
  32. <PackageReference Include="Microsoft.EntityFrameworkCore.Tools">
  33. <PrivateAssets>all</PrivateAssets>
  34. <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  35. </PackageReference>
  36. </ItemGroup>
  37. </Project>