[MonoDevelop] [BUG] Compiler flag `/noconfig' causes compilation failure on Ubuntu 9.04
m.j.hutchinson at gmail.com
Tue Sep 15 15:22:31 EDT 2009
On Tue, Sep 15, 2009 at 2:51 PM, Allan Caffee <allan.caffee at gmail.com> wrote:
> Mono complains that it cannot find the
> System.Collections.Generic.Stack when I run compilation from within
> monodevelop. I found this to be caused by `/noconfig' flag passed to
> gmcs I was only able to compile after adding the `/noconfig-' flag in
> the "additional arguments" field. The bug shows up in version 2.0 of
> Monodevelop on Ubuntu 9.04. I haven't actually tried the trunk
> version but I noticed that the flag is still being unconditionally
> added to compilation commands in
> main/src/addins/CSharpBinding/CSharpBindingCompilerManager.cs. Is
> there some reason that this argument needs to be here?
You should add a reference to System.dll. AFAIK all the project
templates have this already, except the empty project template, which
is literally empty. Which template did you use?
MonoDevelop uses the /noconfig argument to make sure that the C#
compiler options exactly reflect your project options.
More information about the Monodevelop-list