2020-11-01 10:47:31 +01:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
2018-12-28 00:27:57 +01:00
|
|
|
|
2020-04-21 22:21:09 +02:00
|
|
|
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{9142EEFA-7570-41E1-BFCC-468BB571AF2F}</ProjectGuid>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2019-01-19 15:01:16 +01:00
|
|
|
<PropertyGroup>
|
|
|
|
<Authors>Jellyfin Contributors</Authors>
|
|
|
|
<PackageId>Jellyfin.Common</PackageId>
|
2020-12-05 03:55:32 +01:00
|
|
|
<VersionPrefix>10.8.0</VersionPrefix>
|
2019-01-19 15:01:16 +01:00
|
|
|
<RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
|
2020-08-26 15:39:01 +02:00
|
|
|
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
2019-01-19 15:01:16 +01:00
|
|
|
</PropertyGroup>
|
2019-01-07 16:58:33 +01:00
|
|
|
|
2019-01-19 15:01:16 +01:00
|
|
|
<ItemGroup>
|
2020-12-22 16:57:51 +01:00
|
|
|
<FrameworkReference Include="Microsoft.AspNetCore.App"/>
|
2019-01-19 15:01:16 +01:00
|
|
|
<ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
|
|
|
|
</ItemGroup>
|
2018-12-28 00:27:57 +01:00
|
|
|
|
2019-02-03 17:09:12 +01:00
|
|
|
<ItemGroup>
|
2020-11-10 17:52:34 +01:00
|
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="5.0.0" />
|
|
|
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="5.0.0" />
|
2020-11-17 04:29:46 +01:00
|
|
|
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
2019-02-03 17:09:12 +01:00
|
|
|
</ItemGroup>
|
|
|
|
|
2019-01-19 15:01:16 +01:00
|
|
|
<ItemGroup>
|
|
|
|
<Compile Include="..\SharedVersion.cs" />
|
|
|
|
</ItemGroup>
|
2018-12-28 00:27:57 +01:00
|
|
|
|
2019-01-19 15:01:16 +01:00
|
|
|
<PropertyGroup>
|
2020-11-10 17:52:34 +01:00
|
|
|
<TargetFramework>net5.0</TargetFramework>
|
2019-01-19 15:01:16 +01:00
|
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
2019-08-11 16:52:37 +02:00
|
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
2019-10-09 17:10:16 +02:00
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
2020-09-02 22:42:00 +02:00
|
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup Condition=" '$(Stability)'=='Unstable'">
|
|
|
|
<!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
|
|
|
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
2019-01-19 15:01:16 +01:00
|
|
|
</PropertyGroup>
|
2018-12-28 00:27:57 +01:00
|
|
|
|
2019-12-11 00:13:57 +01:00
|
|
|
<!-- Code analyzers-->
|
|
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
2020-04-02 17:00:28 +02:00
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
|
2019-12-11 00:13:57 +01:00
|
|
|
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
|
2020-06-03 13:04:45 +02:00
|
|
|
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
|
2019-12-11 00:13:57 +01:00
|
|
|
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
|
<CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
|
2019-08-16 17:37:40 +02:00
|
|
|
</PropertyGroup>
|
|
|
|
|
2019-09-17 18:07:15 +02:00
|
|
|
<ItemGroup>
|
|
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
|
|
<_Parameter1>Jellyfin.Common.Tests</_Parameter1>
|
|
|
|
</AssemblyAttribute>
|
|
|
|
</ItemGroup>
|
|
|
|
|
2018-12-28 00:27:57 +01:00
|
|
|
</Project>
|