2019-11-23 10:31:02 -05:00
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
|
2020-04-21 16:21:09 -04:00
|
|
|
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
|
|
|
<PropertyGroup>
|
|
|
|
<ProjectGuid>{DFBEFB4C-DA19-4143-98B7-27320C7F7163}</ProjectGuid>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2019-11-23 10:31:02 -05:00
|
|
|
<PropertyGroup>
|
2020-11-10 11:52:34 -05:00
|
|
|
<TargetFramework>net5.0</TargetFramework>
|
2019-11-23 14:31:17 -05:00
|
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
|
|
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
2020-06-03 07:22:40 -04:00
|
|
|
<Nullable>enable</Nullable>
|
2020-11-13 12:24:40 -05:00
|
|
|
<!-- https://github.com/microsoft/ApplicationInsights-dotnet/issues/2047 -->
|
|
|
|
<NoWarn>AD0001</NoWarn>
|
2019-11-23 10:31:02 -05:00
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2021-02-09 21:02:02 -05:00
|
|
|
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="5.0.3" />
|
2020-11-10 11:52:34 -05:00
|
|
|
<PackageReference Include="Microsoft.Extensions.Http" Version="5.0.0" />
|
2021-02-15 12:07:50 -05:00
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.0.5" />
|
2021-02-15 07:00:48 -05:00
|
|
|
<PackageReference Include="Swashbuckle.AspNetCore.ReDoc" Version="6.0.5" />
|
2019-11-23 10:31:02 -05:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<ItemGroup>
|
2020-04-21 21:15:27 -04:00
|
|
|
<ProjectReference Include="..\Emby.Dlna\Emby.Dlna.csproj" />
|
2019-11-23 10:31:02 -05:00
|
|
|
<ProjectReference Include="..\MediaBrowser.Controller\MediaBrowser.Controller.csproj" />
|
|
|
|
</ItemGroup>
|
|
|
|
|
2019-12-13 14:11:37 -05:00
|
|
|
<!-- Code Analyzers-->
|
2019-11-23 14:31:17 -05:00
|
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
2019-12-10 18:13:57 -05:00
|
|
|
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />
|
2019-11-24 13:25:46 -05:00
|
|
|
<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" />
|
2019-11-23 14:31:17 -05:00
|
|
|
</ItemGroup>
|
|
|
|
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
|
|
<CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
2021-02-11 11:46:27 -05:00
|
|
|
<ItemGroup>
|
|
|
|
<AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo">
|
|
|
|
<_Parameter1>Jellyfin.Api.Tests</_Parameter1>
|
|
|
|
</AssemblyAttribute>
|
|
|
|
</ItemGroup>
|
|
|
|
|
2019-11-23 10:31:02 -05:00
|
|
|
</Project>
|