|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
|
|
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{154872D9-6C12-4007-96E3-8F70A58386CE}</ProjectGuid>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
|
|
|
<Nullable>enable</Nullable>
|
|
|
|
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
|
|
|
|
<CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<Compile Include="..\SharedVersion.cs" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<PackageReference Include="BlurHashSharp" Version="1.2.0" />
|
|
|
|
<PackageReference Include="BlurHashSharp.SkiaSharp" Version="1.2.0" />
|
|
|
|
<PackageReference Include="SkiaSharp" Version="2.80.2" />
|
|
|
|
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.80.2" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
|
|
|
|
<ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />
|
|
|
|
<ProjectReference Include="..\MediaBrowser.Common\MediaBrowser.Common.csproj" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
|
|
|
<!-- Needed for https://github.com/dotnet/roslyn-analyzers/issues/4382 which is in the SDK yet -->
|
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3" PrivateAssets="All" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<!-- Code analysers-->
|
|
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
|
<PackageReference Include="SerilogAnalyzer" Version="0.15.0" PrivateAssets="All" />
|
|
|
|
<PackageReference Include="StyleCop.Analyzers" Version="1.1.118" PrivateAssets="All" />
|
|
|
|
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
</Project>
|