[MonoDevelop] Refactoring Addin
Michael Hutchinson
m.j.hutchinson at gmail.com
Tue Aug 3 16:15:00 EDT 2010
On Tue, Aug 3, 2010 at 3:36 PM, Eric Schaefer
<eric.schaefer at ericschaefer.org> wrote:
> 2010/8/3 Dale Ragan <dale.ragan at sinesignal.com>:
>> What did you set as the namespace? It needs to be MonoDevelop since
>> you're extending the MonoDevelop.Ide.Commands.
>
> OK. Now the namespace is "MonoDevelop" and it does not throw the error
> anymore. Adding "Refactoring" to the dependency list and voila, the
> addin loads everytime MD runs!
Yep, for some reason Mono.Addin always computes addin dependencies as
children of the addin's namespace.
So you can have either
* an addin with no namespace, and dependencies as "MonoDevelop.Core" etc.
* an addin with "MonoDevelop" namespace, and dependencies as "Core" etc.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Monodevelop-list
mailing list