[Mono-bugs] [Bug 71665][Wis] New - Mono.CSharp.CSharpCodeCompiler:BuildArgs doesnt append options.CompilerOptions

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 24 Jan 2005 05:55:27 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by matti.savolainen@nesenta.fi.


--- shadow/71665	2005-01-24 05:55:27.000000000 -0500
+++ shadow/71665.tmp.11863	2005-01-24 05:55:27.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 71665
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details: FreeBSD 5.3
+Status: NEW   
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: matti.savolainen@nesenta.fi               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Mono.CSharp.CSharpCodeCompiler:BuildArgs doesnt append options.CompilerOptions
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+Mono.CSharp.CSharpCodeCompiler:BuildArgs doesn't append
+options.CompilerOptions for the compiler when using it, like 
+CSharpCodeProvider provider = new CSharpCodeProvider();
+ICodeCompiler compiler = provider.CreateCompiler();
+CompilerParameters parms = new CompilerParameters(
+GetReferenceAssemblies(), path, true );
+// Never gets appended to the actual options.
+parms.CompilerOptions = "/recurse:\"Scripts/*.cs\"";
+CompilerResults results = compiler.CompileAssemblyFromFileBatch( parms, file );
+Steps to reproduce the problem:
+Actual Results:
+CompilerOptions do not get appended to the args.
+Expected Results:
+CompilerOptions _do_ get appended on MS .NET framework.
+How often does this happen? 
+Additional Information:
+I would like to use recurse with an "empty.cs" instead of passing a list of
+4000+ .cs files in the "commandline".