[Mono-dev] RE: Microsoft.VisualBasic.VBCodeProvider.CreateCompiler.CompileAssemblyFromSource commandline options

Arnhoffer Károly karnhoffer at ecron.hu
Mon Feb 13 05:59:02 EST 2006


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; mono-devel-list at lists.ximian.com
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
 



More information about the Mono-devel-list mailing list