diff --git a/src/dotnet/commands/dotnet-compile-csc/Program.cs b/src/dotnet/commands/dotnet-compile-csc/Program.cs index 6d84fe0ce..500eceae0 100644 --- a/src/dotnet/commands/dotnet-compile-csc/Program.cs +++ b/src/dotnet/commands/dotnet-compile-csc/Program.cs @@ -128,13 +128,10 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc var args = new List() { "-nostdlib", - "-nologo" + "-nologo", + "-debug:portable" }; - args.Add(RuntimeInformation.IsOSPlatform(OSPlatform.Windows) - ? "-debug:full" - : "-debug:portable"); - return args; }