[MonoDevelop] Add-in ProjectBinding failed

Thomas Krieger p.o.k at web.de
Wed Apr 8 05:52:40 EDT 2009


Hi,

again i have a problem with the add-in architecture. I try to implement
my own projecttype so i tried
to extend the path : /MonoDevelop/ProjectModel/ProjectBindings and
/MonoDevelop/Ide/ProjectTemplates.
This is what i read in the articles and can also be shown on
http://monodevelop.com/Extension_Tree_Reference.

My .addin.xml looks like this:

<Addin id       = "MonoModeller" 
    namespace   = "MonoModeller" 
    name        = "MonoModeller" 
    author      = "Thomas" 
     copyright   = "GPL" 
    url         = "http://www.linux.de" 
    description = "A short try to get a modeller add-in." 
    category    = "Model Development" 
    version     = "0.1"> 
   
    <Dependencies>
        <Addin id="MonoDevelop.Core" version="2.0"/>
        <Addin id="MonoDevelop.Core.Gui" version="2.0"/>
        <Addin id="MonoDevelop.Projects" version="2.0"/>
        <Addin id="MonoDevelop.Ide" version="2.0"/>
    </Dependencies>
   
    <Extension path = "/MonoDevelop/ProjectModel/ProjectBindings">
        <ProjectBinding id = "MonoModeller.ModelProject" class =
"MonoModeller.ModelProject" />
    </Extension>
   
    <Extension path = "/MonoDevelop/Ide/ProjectTemplates">
        <ProjectTemplate id = "UMLProject" resource = "UMLModel.xpt.xml"/>
    </Extension>


  </Addin> 


The template "UMLModel.xpt.xml" is compiled in as a resource. And the
class "MonoModeller.ModelProject" is already there.
But when i start the monodevelop ide after copying the AddIn-Assembly to
the .config/MonoDevelop/addins directory, i get following WARNING:

WARNING: The add-in 'MonoModeller.MonoModeller,0.1' is trying to extend
'/MonoDevelop/ProjectModel/ProjectBindings', but there isn't any
compatible add-in defining this extension point
WARNING: The add-in 'MonoModeller.MonoModeller,0.1' is trying to extend
'/MonoDevelop/ProjectModel/ProjectBindings/MonoModeller.Project', but
there isn't any compatible add-in defining this extension point
WARNING: The add-in 'MonoModeller.MonoModeller,0.1' is trying to extend
'/MonoDevelop/Ide/ProjectTemplates', but there isn't any compatible
add-in defining this extension point
WARNING: The add-in 'MonoModeller.MonoModeller,0.1' is trying to extend
'/MonoDevelop/Ide/ProjectTemplates/UML Projekt', but there isn't any
compatible add-in defining this extension point

Do i need some dependencies or anything? I also compile to target ".NET
2.0".
My Linux is Ubuntu 8.10 and i got Mono 2.0.1, running MonoDevelop 2.0
(from Source).

Regards

Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p_o_k.vcf
Type: text/x-vcard
Size: 282 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20090408/1916a617/attachment.vcf 


More information about the Monodevelop-list mailing list