Emby.Naming.csproj 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>net5.0</TargetFramework>
  8. <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
  9. <GenerateDocumentationFile>true</GenerateDocumentationFile>
  10. <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  11. <PublishRepositoryUrl>true</PublishRepositoryUrl>
  12. <EmbedUntrackedSources>true</EmbedUntrackedSources>
  13. <IncludeSymbols>true</IncludeSymbols>
  14. <SymbolPackageFormat>snupkg</SymbolPackageFormat>
  15. <Nullable>enable</Nullable>
  16. </PropertyGroup>
  17. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  18. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  19. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  20. </PropertyGroup>
  21. <ItemGroup>
  22. <Compile Include="../SharedVersion.cs" />
  23. </ItemGroup>
  24. <ItemGroup>
  25. <ProjectReference Include="../MediaBrowser.Common/MediaBrowser.Common.csproj" />
  26. <ProjectReference Include="../MediaBrowser.Model/MediaBrowser.Model.csproj" />
  27. </ItemGroup>
  28. <PropertyGroup>
  29. <Authors>Jellyfin Contributors</Authors>
  30. <PackageId>Jellyfin.Naming</PackageId>
  31. <VersionPrefix>10.8.0</VersionPrefix>
  32. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  33. <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
  34. </PropertyGroup>
  35. <ItemGroup>
  36. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
  37. </ItemGroup>
  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. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  45. <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
  46. </PropertyGroup>
  47. </Project>