diff --git a/src/Microsoft.DotNet.Cli.Utils/Command.cs b/src/Microsoft.DotNet.Cli.Utils/Command.cs index c61e19a6c..0df5d1c26 100644 --- a/src/Microsoft.DotNet.Cli.Utils/Command.cs +++ b/src/Microsoft.DotNet.Cli.Utils/Command.cs @@ -130,7 +130,7 @@ namespace Microsoft.DotNet.Cli.Utils #if DEBUG var sw = Stopwatch.StartNew(); - Reporter.Output.WriteLine($"> {_process.StartInfo.FileName} {_process.StartInfo.Arguments}".Green().Bold()); + Reporter.Output.WriteLine($"> {_process.StartInfo.FileName} {_process.StartInfo.Arguments}".White()); #endif _process.Start(); _process.BeginOutputReadLine(); diff --git a/src/Microsoft.DotNet.Tools.Publish/Program.cs b/src/Microsoft.DotNet.Tools.Publish/Program.cs index 36277e41d..bb3e0b23c 100644 --- a/src/Microsoft.DotNet.Tools.Publish/Program.cs +++ b/src/Microsoft.DotNet.Tools.Publish/Program.cs @@ -189,7 +189,7 @@ exec ""$DIR/corerun"" ""$DIR/{context.ProjectFile.Name}.exe"" $*"; .GetAwaiter() .GetResult(); - File.Copy(outputDll, Path.ChangeExtension(outputDll, ".exe")); + File.Copy(outputDll, Path.ChangeExtension(outputDll, ".exe"), overwrite: true); File.Delete(outputDll); return 0;