[xbuild] Set default TargetFrameworkVersion=4.0 for ToolsVersion=4.0
[mono.git] / mcs / tools / xbuild / Parameters.cs
index 8cb4f5d7498fe1cb55f9bec295f18f9dbfc32a26..beabc9f8108ca0d1dbc45ce77fb7830fe1951ed9 100644 (file)
@@ -332,7 +332,11 @@ namespace Mono.XBuild.CommandLine {
                
                internal void ProcessConsoleLoggerParameters (string s)
                {
-                       consoleLoggerParameters = s; 
+                       int colon = s.IndexOf (':');
+                       if (colon + 1 == s.Length)
+                               ReportError (5, "Invalid syntax, specify parameters as /clp:parameters");
+
+                       consoleLoggerParameters = s.Substring (colon + 1);
                }
                
                internal void ProcessValidate (string s)