Merge pull request #1712 from jaredpar/rpdb
Revert to full PDB on Windows as a default
This commit is contained in:
commit
840bccd796
1 changed files with 12 additions and 3 deletions
|
@ -213,9 +213,18 @@ namespace Microsoft.DotNet.Tools.Compiler.Csc
|
||||||
commonArgs.Add("-t:library");
|
commonArgs.Add("-t:library");
|
||||||
}
|
}
|
||||||
|
|
||||||
commonArgs.Add((string.IsNullOrEmpty(options.DebugType) || options.DebugType == "portable")
|
if (string.IsNullOrEmpty(options.DebugType))
|
||||||
? "-debug:portable"
|
{
|
||||||
: "-debug:full");
|
commonArgs.Add(RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
|
||||||
|
? "-debug:full"
|
||||||
|
: "-debug:portable");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
commonArgs.Add(options.DebugType == "portable"
|
||||||
|
? "-debug:portable"
|
||||||
|
: "-debug:full");
|
||||||
|
}
|
||||||
|
|
||||||
return commonArgs;
|
return commonArgs;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue