Don't pass Analyzers to Razor declaration compilation Csc task invocation.

- Without this any diagnostics from Analyzers will be doubly reported. One for the declaration compilation and one for the view compilation.

aspnet/AspNetCoredotnet/aspnetcore-tooling#8825
\n\nCommit migrated from 6d115d460b
This commit is contained in:
N. Taylor Mullen 2019-07-10 13:16:08 -07:00
parent cd8ec7ae66
commit c76ac7e7b0
1 changed files with 0 additions and 1 deletions

View File

@ -191,7 +191,6 @@ Copyright (c) .NET Foundation. All rights reserved.
AddModules="@(AddModules)"
AdditionalFiles="@(AdditionalFiles)"
AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
Analyzers="@(Analyzer)"
ApplicationConfiguration="$(AppConfigForCompiler)"
BaseAddress="$(BaseAddress)"
CheckForOverflowUnderflow="$(CheckForOverflowUnderflow)"