Update StartupAnalyzer.Diagnostics.cs (#11245)

This commit is contained in:
dannyBies 2019-06-16 14:01:52 +12:00 committed by Andrew Stanton-Nurse
parent bc5bee7477
commit 1521e6fa72
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,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,