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:
parent
cd8ec7ae66
commit
c76ac7e7b0
|
|
@ -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)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue