You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.9 KiB
48 lines
1.9 KiB
<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.3" />
|
|
<PackageReference Include="SkiaSharp.NativeAssets.Linux" Version="2.80.3" />
|
|
</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>
|