[tomboy-list] error CS0246: The type or namespace name `SetupService' could not be found.

Sanford Armstrong sanfordarmstrong at gmail.com
Thu Nov 1 06:39:21 PDT 2007


On 11/1/07, Anthony Rumble <c6tgt1602 at sneakemail.com> wrote:
> Just trying to bring the Fedora Core 6 and Fedora 7 RPM's up to the latest
> 0.8.1 release.. Everything is fine except compiling the Mono.Addins stuff.
>
> ./Mono.Addins.Gui/AddinManagerDialog.cs(39,30): error
> CS0246: The type or namespace name `SetupService' could not be found. Are
> you missing a using directive or an assembly reference?
> Compilation failed: 1 error(s), 0 warnings
>
> (While compiling Mono.Addins.Gui.dll)

This appears to be an old Mono compiler bug that is fixed in more
recent versions of Mono.  Havoc experienced this when building Tomboy
a few months ago, and he just modified AddinManagerDialog.cs to use
the fully qualified class name when referencing SetupService.  So you
would just replace "SetupService" in that file with
"Mono.Addins.Setup.SetupService".

We try not to deviate too much from the official Mono.Addins code, but
maybe this is something we should fix in our bundled copy of it.  In
the meantime, patching that file should fix your problems.

Best,
Sandy


More information about the Tomboy-list mailing list