https://bugzilla.novell.com/show_bug.cgi?id=676650
https://bugzilla.novell.com/show_bug.cgi?id=676650#c0 Summary: FileLogger throws on setting parameters Classification: Mono Product: Mono: Class Libraries Version: 2.10.x Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Ms.Build AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 System.ApplicationException: Compilation failed ---> System.ArgumentException: Invalid parameter : logfile=bin/compile.log at Microsoft.Build.BuildEngine.ConsoleLogger.ParseParameters () [0x000bd] in /srv/.../mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ConsoleLogger.cs:622 at Microsoft.Build.BuildEngine.ConsoleLogger.set_Parameters (System.String value) [0x00028] in /srv/.../mcs/class/Microsoft.Build.Engine/Microsoft.Build.BuildEngine/ConsoleLogger.cs:783 This is due to FileLogger being implemented by inheriting empty from ConsoleLogger. ConsoleLogger doesn't know the "logfile" parameter => boom. Here's the relevant piece of code, triggering this: using Microsoft.Build.BuildEngine; var logger = new FileLogger(); logger.Parameters = String.Format(@"logfile={0}", Path.Combine(workingPath, "compile.log")); Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
