2020-10-31 18:21:46 +00:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
|
|
|
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{42816EA8-4511-4CBF-A9C7-7791D5DDDAE6}</ProjectGuid>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
2020-11-16 17:30:27 +00:00
|
|
|
<TargetFramework>net5.0</TargetFramework>
|
2020-10-31 18:21:46 +00:00
|
|
|
<IsPackable>false</IsPackable>
|
|
|
|
<Nullable>enable</Nullable>
|
2020-11-16 17:30:27 +00:00
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
2020-10-31 18:21:46 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2020-12-10 12:57:44 +00:00
|
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.8.3" />
|
2020-10-31 18:21:46 +00:00
|
|
|
<PackageReference Include="xunit" Version="2.4.1" />
|
|
|
|
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
|
2021-01-18 12:01:03 +00:00
|
|
|
<PackageReference Include="coverlet.collector" Version="3.0.1" />
|
2020-11-30 12:01:00 +00:00
|
|
|
<PackageReference Include="Moq" Version="4.15.2" />
|
2020-10-31 18:21:46 +00:00
|
|
|
</ItemGroup>
|
|
|
|
|
2020-11-16 17:30:27 +00:00
|
|
|
<!-- 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="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" />
|
|
|
|
</ItemGroup>
|
2020-10-31 18:21:46 +00:00
|
|
|
<ItemGroup>
|
|
|
|
<ProjectReference Include="..\..\..\Emby.Server.Implementations\Emby.Server.Implementations.csproj" />
|
|
|
|
<ProjectReference Include="..\..\..\MediaBrowser.Common\MediaBrowser.Common.csproj" />
|
|
|
|
</ItemGroup>
|
2020-11-16 17:30:27 +00:00
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
|
<CodeAnalysisRuleSet>../../jellyfin-tests.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
|
|
|
<DefineConstants>DEBUG</DefineConstants>
|
|
|
|
</PropertyGroup>
|
2020-10-31 18:21:46 +00:00
|
|
|
</Project>
|