[Mono-devel-list] CSharpCodeCompiler.cs Bug

José Alexandre Antunes Faria jose.faria at vianw.pt
Wed Aug 18 18:46:22 EDT 2004


Hi Guys...

I was trying to use the CSharpCodeCompiler to compile an app that used gtk-sharp, so I had to use the -pkg: option in CompilerOptions, so far so good, but the thing is BuildArgs doesn't use it, so, I made this fix:

// Added these two lines

if(options.CompilerOptions!=null)

args.AppendFormat("{0} ", options.CompilerOptions);


// commented this one...

//args.Append (" -- ");

I don't know why, but I had to comment this last line, because with it, every time I used the option it simply didn't compile, like this it compiled quite well...

Could some one check this out and commit it to the cvs if its the case?

Thanks guys....

José Faria




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20040818/0dc27fba/attachment.html 


More information about the Mono-devel-list mailing list