diff options
| author | Rich Lander <rlander@microsoft.com> | 2021-07-30 00:49:28 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 09:49:28 +0200 |
| commit | c07e83fdf87e61f30e4cca4e458113ac315918ae (patch) | |
| tree | c5e94c360fc683b4c13fbed2f4fab197921db17b /Jellyfin.Api/Jellyfin.Api.csproj | |
| parent | 92c2d206093d2243223a4c37e86f3f1f56b5626e (diff) | |
Invert code and style analysis configuration (#6334)
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Jellyfin.Api/Jellyfin.Api.csproj')
| -rw-r--r-- | Jellyfin.Api/Jellyfin.Api.csproj | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Jellyfin.Api/Jellyfin.Api.csproj b/Jellyfin.Api/Jellyfin.Api.csproj index d1d0ac708..261637687 100644 --- a/Jellyfin.Api/Jellyfin.Api.csproj +++ b/Jellyfin.Api/Jellyfin.Api.csproj @@ -8,10 +8,9 @@ <PropertyGroup> <TargetFramework>net5.0</TargetFramework> <GenerateDocumentationFile>true</GenerateDocumentationFile> - <TreatWarningsAsErrors>true</TreatWarningsAsErrors> - <Nullable>enable</Nullable> <!-- https://github.com/microsoft/ApplicationInsights-dotnet/issues/2047 --> <NoWarn>AD0001</NoWarn> + <AnalysisMode>AllDisabledByDefault</AnalysisMode> </PropertyGroup> <ItemGroup> @@ -33,10 +32,6 @@ <PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" Version="1.1.31" PrivateAssets="All" /> </ItemGroup> - <PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> - <CodeAnalysisRuleSet>../jellyfin.ruleset</CodeAnalysisRuleSet> - </PropertyGroup> - <ItemGroup> <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> <_Parameter1>Jellyfin.Api.Tests</_Parameter1> |
