From 13e9e697c91ece6acfc5a0280522454add371bb6 Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Thu, 19 Jan 2017 12:41:48 -0800 Subject: [PATCH 1/2] Adding an extra message to the migrate result to direct people to a place where they can get help for their migrated projects. --- src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs | 2 ++ src/dotnet/commands/dotnet-migrate/MigrateCommand.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs index 137080ec0..9a836b2a1 100644 --- a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs @@ -30,5 +30,7 @@ Defaults to current directory if nothing is specified."; public const string CmdSkipBackupDescription = "Skip moving project.json, global.json, and *.xproj to a `backup` directory after successful migration."; public const string MigrationFailedError = "Migration failed."; + + public const string MigrationAdditionalHelp = "Your project has been migrated to .csproj format and can be used with this build of .NET Core Tools. Please visit https://aka.ms/coremigration to report issues or for help."; } } \ No newline at end of file diff --git a/src/dotnet/commands/dotnet-migrate/MigrateCommand.cs b/src/dotnet/commands/dotnet-migrate/MigrateCommand.cs index d164c395a..10725d986 100644 --- a/src/dotnet/commands/dotnet-migrate/MigrateCommand.cs +++ b/src/dotnet/commands/dotnet-migrate/MigrateCommand.cs @@ -235,6 +235,8 @@ namespace Microsoft.DotNet.Tools.Migrate } Reporter.Output.WriteLine(GetReportSummary(migrationReport)); + + Reporter.Output.WriteLine(LocalizableStrings.MigrationAdditionalHelp); } private string GetReportContent(MigrationReport migrationReport, bool colored = false) From 96f64e17089c9488069b598ad34806824a49b163 Mon Sep 17 00:00:00 2001 From: Livar Cunha Date: Thu, 19 Jan 2017 13:18:47 -0800 Subject: [PATCH 2/2] Updating the help string based on PR feedback. --- src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs index 9a836b2a1..f443a269c 100644 --- a/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs +++ b/src/dotnet/commands/dotnet-migrate/LocalizableStrings.cs @@ -31,6 +31,6 @@ Defaults to current directory if nothing is specified."; public const string MigrationFailedError = "Migration failed."; - public const string MigrationAdditionalHelp = "Your project has been migrated to .csproj format and can be used with this build of .NET Core Tools. Please visit https://aka.ms/coremigration to report issues or for help."; + public const string MigrationAdditionalHelp = "Your project has been migrated to the .csproj format and can be used with this build of the .NET Core Tools. Please visit https://aka.ms/coremigration to report issues or ask for help."; } } \ No newline at end of file