As I can see in mcs/class/System/Microsoft.VisualBasic/VBCodeCompiler.cs
CompilerParameters.CompilerOptions are never added to the command line
arguments. For example BuildArgs now:
static string BuildArgs (CompilerParameters options, string[]
fileNames)
{
...
return args.ToString ();
}
But it should be something like this:
static string BuildArgs (CompilerParameters options, string[]
fileNames)
{
...
return args.ToString () + options.CompilerOptions;
}
Am I right?
-----Original Message-----
From: Arnhoffer Károly
Sent: Monday, February 13, 2006 9:03 AM
To: mono vb; [email protected]
Subject:
Microsoft.VisualBasic.VBCodeProvider.CreateCompiler.CompileAssemblyFromSource
commandline options
Hi,
I use
Microsoft.VisualBasic.VBCodeProvider.CreateCompiler.CompileAssemblyFromSource
to compile a code snippet at runtime. There is a compilation error and first I
want to se what the command is that does the compilation. Is it possible to see
the full command? With Windows and .Net there is a file (.cmdline) which
contains all the parameters that are passed to the vbc.exe. Is there something
like this with Mono?
Thanks!
Károly
_______________________________________________
Mono-vb mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-vb