Emby.Naming.csproj 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <Project Sdk="Microsoft.NET.Sdk">
  2. <!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
  3. <PropertyGroup>
  4. <ProjectGuid>{E5AF7B26-2239-4CE0-B477-0AA2018EDAA2}</ProjectGuid>
  5. </PropertyGroup>
  6. <PropertyGroup>
  7. <TargetFramework>net9.0</TargetFramework>
  8. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  9. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  10. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  11. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  12. <IncludeSymbols>true</IncludeSymbols>
  13. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  14. </PropertyGroup>
  15. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  16. <CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
  17. </PropertyGroup>
  18. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  19. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  20. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  21. </PropertyGroup>
  22. <ItemGroup>
  23. <Compile Include="../SharedVersion.cs" />
  24. </ItemGroup>
  25. <ItemGroup>
  26. <ProjectReference Include="../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  27. <ProjectReference Include="../MediaBrowser.Model/MediaBrowser.Model.csproj" />
  28. </ItemGroup>
  29. <PropertyGroup>
  30. <Authors>Jellyfin Contributors</Authors>
  31. <PackageId>Jellyfin.Naming</PackageId>
  32. <VersionPrefix>10.11.0</VersionPrefix>
  33. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  34. <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
  35. </PropertyGroup>
  36. <!-- Code Analyzers -->
  37. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  38. <PackageReference Include="IDisposableAnalyzers">
  39. <PrivateAssets>all</PrivateAssets>
  40. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  41. </PackageReference>
  42. <PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
  43. <PrivateAssets>all</PrivateAssets>
  44. <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
  45. </PackageReference>
  46. <PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
  47. <PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
  48. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
  49. </ItemGroup>
  50. </Project>