From b2802cdf50cf915629d059f1c880b8bc8e5b9a7e Mon Sep 17 00:00:00 2001 From: Fredric Silberberg Date: Wed, 5 Oct 2016 14:26:20 -0700 Subject: [PATCH] Added comment about updating in VS calls of dotnet migrate when cli args change. --- src/dotnet/commands/dotnet-migrate/Program.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/dotnet/commands/dotnet-migrate/Program.cs b/src/dotnet/commands/dotnet-migrate/Program.cs index 32b679c43..dad8653e1 100644 --- a/src/dotnet/commands/dotnet-migrate/Program.cs +++ b/src/dotnet/commands/dotnet-migrate/Program.cs @@ -11,6 +11,12 @@ namespace Microsoft.DotNet.Tools.Migrate { public static int Run(string[] args) { + + // IMPORTANT: + // When updating the command line args for dotnet-migrate, we need to update the in-VS caller of dotnet migrate as well. + // It is located at dotnet/roslyn-project-system: + // src/Microsoft.VisualStudio.ProjectSystem.CSharp.VS/ProjectSystem/VS/Xproj/MigrateXprojFactory.cs + DebugHelper.HandleDebugSwitch(ref args); CommandLineApplication app = new CommandLineApplication();