55 lines
2.4 KiB
XML
55 lines
2.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
|
<PropertyGroup>
|
|
<ProjectGuid>{442B5058-DCAF-4263-BB6A-F21E31120A1B}</ProjectGuid>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />
|
|
<ProjectReference Include="..\MediaBrowser.Model\MediaBrowser.Model.csproj" />
|
|
<ProjectReference Include="..\DvdLib\DvdLib.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\SharedVersion.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="5.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" Version="5.0.0" />
|
|
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
|
|
<PackageReference Include="OptimizedPriorityQueue" Version="5.0.0" />
|
|
<PackageReference Include="PlaylistsNET" Version="1.1.3" />
|
|
<PackageReference Include="TMDbLib" Version="1.7.3-alpha" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net5.0</TargetFramework>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release'">true</TreatWarningsAsErrors>
|
|
</PropertyGroup>
|
|
|
|
<!-- Code Analyzers-->
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
|
|
<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>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<None Remove="Plugins\AudioDb\Configuration\config.html" />
|
|
<EmbeddedResource Include="Plugins\AudioDb\Configuration\config.html" />
|
|
<None Remove="Plugins\Omdb\Configuration\config.html" />
|
|
<EmbeddedResource Include="Plugins\Omdb\Configuration\config.html" />
|
|
<None Remove="Plugins\MusicBrainz\Configuration\config.html" />
|
|
<EmbeddedResource Include="Plugins\MusicBrainz\Configuration\config.html" />
|
|
</ItemGroup>
|
|
</Project>
|