From ee5c9692cb93d98c3cbcc51b387b5d99d0383fc3 Mon Sep 17 00:00:00 2001 From: Ankit Jain Date: Wed, 10 Nov 2010 10:48:42 +0530 Subject: [PATCH] [xbuild] Emit /platform: for *mcs Emit /platform:foo for the *mcs. Based on patch from technomage1972 . --- mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Csc.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Csc.cs b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Csc.cs index 18f3096f611..814d3e5cd64 100644 --- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Csc.cs +++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Csc.cs @@ -88,6 +88,7 @@ namespace Microsoft.Build.Tasks { commandLine.AppendSwitch ("/nostdlib"); //platform + commandLine.AppendSwitchIfNotNull ("/platform:", Platform); // if (References != null) foreach (ITaskItem item in References) -- 2.11.4.GIT