You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -63,7 +63,7 @@ public InitAction(ITemplatesManager templatesManager, ISecretsManager secretsMan
63
63
64
64
publicstringTargetFramework{get;set;}
65
65
66
-
publicstringConfigurationProfile{get;set;}
66
+
publicstringConfigurationProfileName{get;set;}
67
67
68
68
publicbool?ManagedDependencies{get;set;}
69
69
@@ -155,7 +155,7 @@ public override ICommandLineParserResult ParseArgs(string[] args)
155
155
.SetDefault(null)
156
156
.WithDescription(WarningColor("[preview]").ToString()+" Initialize a project with a host configuration profile. Currently supported: 'mcp-custom-handler'. "
157
157
+WarningColor("Using a configuration profile may skip all other initialization steps.").ToString())
ColoredConsole.WriteLine(WarningColor($"Configuration profile '{ConfigurationProfile}' is not supported. Supported values: {string.Join(", ",supportedProfiles)}"));
686
+
ColoredConsole.WriteLine(WarningColor($"Configuration profile '{ConfigurationProfileName}' is not supported. Supported values: {string.Join(", ",supportedProfiles)}"));
687
+
688
+
// Return true to avoid running the rest of the initialization steps, we are treating the use of `--configuration-profile`
689
+
// as a stand alone command. So if the provided profile is invalid, we just warn and exit.
0 commit comments