Correct the spelling of 'EnableEndpointRouting'

Fixes #11467
This commit is contained in:
David Gardiner 2019-08-17 21:00:08 +09:30 committed by Ryan Nowak
parent 7795537181
commit 7118601f4c
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ namespace Microsoft.AspNetCore.Analyzers
internal readonly static DiagnosticDescriptor UnsupportedUseMvcWithEndpointRouting = new DiagnosticDescriptor(
"MVC1005",
"Cannot use UseMvc with Endpoint Routing.",
"Using '{0}' to configure MVC is not supported while using Endpoint Routing. To continue using '{0}', please set 'MvcOptions.EnableEndpointRounting = false' inside '{1}'.",
"Using '{0}' to configure MVC is not supported while using Endpoint Routing. To continue using '{0}', please set 'MvcOptions.EnableEndpointRouting = false' inside '{1}'.",
"Usage",
DiagnosticSeverity.Warning,
isEnabledByDefault: true,