Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2016-12-12 18:02:48 +0300
committerMarek Safar <marek.safar@gmail.com>2016-12-12 18:02:48 +0300
commit0eb84ed4552e21d3fc90d1e5fef046487793edcb (patch)
tree65b78c3f541ff8665865ddc439e03c4ae96ca8d9 /mcs/class/Microsoft.Build.Tasks
parentcfccb41b25a996b9d6ab0c2d9c24f1b32c6fed63 (diff)
[xbuild] Convert pbdonly to portable debug mode
Diffstat (limited to 'mcs/class/Microsoft.Build.Tasks')
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ManagedCompiler.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ManagedCompiler.cs b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ManagedCompiler.cs
index 8d7a501d4cf..375b82782c2 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ManagedCompiler.cs
+++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/ManagedCompiler.cs
@@ -59,7 +59,7 @@ namespace Microsoft.Build.Tasks {
commandLine.AppendSwitchIfNotNull ("/codepage:", CodePage.ToString ());
var dtype = DebugType;
- if (string.Equals (dtype, "full", StringComparison.OrdinalIgnoreCase))
+ if (string.Equals (dtype, "full", StringComparison.OrdinalIgnoreCase) || string.Equals (dtype, "pdbonly", StringComparison.OrdinalIgnoreCase))
dtype = "portable";
commandLine.AppendSwitchIfNotNull ("/debug:", dtype);