Emby.Naming.csproj 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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>netstandard2.1</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. </PropertyGroup>
  16. <PropertyGroup Condition=" '$(Stability)'=='Unstable'">
  17. <!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
  18. <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
  19. </PropertyGroup>
  20. <ItemGroup>
  21. <Compile Include="..\SharedVersion.cs" />
  22. </ItemGroup>
  23. <ItemGroup>
  24. <ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
  25. </ItemGroup>
  26. <PropertyGroup>
  27. <Authors>Jellyfin Contributors</Authors>
  28. <PackageId>Jellyfin.Naming</PackageId>
  29. <VersionPrefix>10.7.0</VersionPrefix>
  30. <RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
  31. <PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
  32. </PropertyGroup>
  33. <ItemGroup>
  34. <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
  35. </ItemGroup>
  36. <!-- Code Analyzers-->
  37. <ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
  38. <!-- TODO: <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" /> -->
  39. <PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
  40. <PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
  41. <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
  42. </ItemGroup>
  43. <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
  44. <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
  45. </PropertyGroup>
  46. </Project>