Correct the spelling of 'EnableEndpointRouting' (#13655)

Fixes #11467
This commit is contained in:
Daniel Roth 2019-09-04 08:11:41 -07:00 committed by Artak
parent ac6a1f5759
commit 834e316f7a
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,