aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspookbits <71300703+spooksbit@users.noreply.github.com>2020-09-16 17:09:24 -0400
committerspookbits <71300703+spooksbit@users.noreply.github.com>2020-09-16 17:09:24 -0400
commit246ab260f71731c03e8199cbb52e0a7457aaf997 (patch)
treeda2346597e9136c8222aceccb1001dc3aa332250
parentac32b140122f669e6b8b6b2294b83a96b6842314 (diff)
Do not implicitly reference ASP.NET Core Analyzers.
Also do not explicitly reference AspNetCore.App (fixes compiler warning).
-rw-r--r--Jellyfin.Server/Jellyfin.Server.csproj5
1 files changed, 1 insertions, 4 deletions
diff --git a/Jellyfin.Server/Jellyfin.Server.csproj b/Jellyfin.Server/Jellyfin.Server.csproj
index b66314a8ea..ffab18f863 100644
--- a/Jellyfin.Server/Jellyfin.Server.csproj
+++ b/Jellyfin.Server/Jellyfin.Server.csproj
@@ -13,6 +13,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Nullable>enable</Nullable>
+ <DisableImplicitAspNetCoreAnalyzers>true</DisableImplicitAspNetCoreAnalyzers>
</PropertyGroup>
<ItemGroup>
@@ -23,10 +24,6 @@
<EmbeddedResource Include="Resources/Configuration/*" />
</ItemGroup>
- <ItemGroup>
- <FrameworkReference Include="Microsoft.AspNetCore.App" />
- </ItemGroup>
-
<!-- Code Analyzers-->
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.8" PrivateAssets="All" />