Merge pull request #1712 from jaredpar/rpdb

Revert to full PDB on Windows as a default
This commit is contained in:
Livar 2016-03-04 17:14:43 -08:00
commit 840bccd796

View file

@ -213,9 +213,18 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
commonArgs.Add("-t:library");
}
commonArgs.Add((string.IsNullOrEmpty(options.DebugType) || options.DebugType == "portable")
? "-debug:portable"
: "-debug:full");
if (string.IsNullOrEmpty(options.DebugType))
{
commonArgs.Add(RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
? "-debug:full"
: "-debug:portable");
}
else
{
commonArgs.Add(options.DebugType == "portable"
? "-debug:portable"
: "-debug:full");
}
return commonArgs;
}