[MonoDevelop] Problem building MonoDevelop from svn

Michael Hutchinson m.j.hutchinson at gmail.com
Tue Mar 11 18:51:44 EDT 2008


On Tue, Mar 11, 2008 at 2:08 PM, Kenneth D Weinert
<kenw at quarter-flash.com> wrote:
<...>
>  and I get the following message when I run make:
>
>  ./Mono.Addins.Gui/ManageSitesDialog.cs(98,66): error CS0246: The type or
>  namespace name `Exception' could not be found. Are you missing a using
>  directive or an assembly reference?
>
>  I'm presuming that perhaps I removed a bit too much, but I really don't
>  see how.
>
>  One other bit of info:  both 'gmcs --version' and 'mcs --version'
>  return:
>
>  Mono C# compiler version 1.2.4.0

1.2.4 has a very annoying bug in the C# compiler where it ignores the
"using xxx;" imports when it's resolving types in anonymous delegates.
The workaround is to fully qualify all types names within anonymous
delegates.

On of our contributors who still uses 1.2.4 adds these workarounds to
MD SVN frequently, but it's not always fully up to date. If you find
any more instances of this, post patches to the mailing list, and
we'll commit them.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list