Adding an extra message to the migrate result to direct people to a place where they can get help for their migrated projects.

This commit is contained in:
Livar Cunha 2017-01-19 12:41:48 -08:00
parent 6568113e34
commit 13e9e697c9
2 changed files with 4 additions and 0 deletions

View file

@ -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.";
}
}

View file

@ -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)