[MonoDevelop] Creating a MonoDevelop Add-In on Windows - Nevermind

Daniel Morgan monodanmorg at yahoo.com
Fri Jun 19 14:44:17 EDT 2009


Nevermind.  I got it to work now.  

MonoDevelop was not saving that you added the file to the project.  It at least saved the file though.  You thought it saved because the Save and Save All menu items were disabled.

Here is the manifest I used:
<Addin namespace   = "MonoDevelop"
       id          = "Samples.DateInserter"
       name        = "Date Inserter"
       author      = "Michael Hutchinson"
       copyright   = "MIT/X11"
       url         = "http://www.monodevelop.com"
       description = "Provides a command to insert the date into the curent document."

       category    = "Source Editor Extensions"
       version     = "2.1.0">

    <Dependencies>
        <Addin id="Ide" version="2.1.0"/>
    </Dependencies>

    <Extension path = "/MonoDevelop/Ide/Commands/Edit">
        <Command id = "MonoDevelop.Samples.DateInserter.DateInserterCommands.InsertDate"

                 _label = "Insert Date"
                 defaultHandler = "MonoDevelop.Samples.DateInserter.InsertDateHandler"
                 _description = "Insert the current date" />
    </Extension>

    <Extension path = "/MonoDevelop/Ide/MainMenu/Edit">
        <CommandItem id="MonoDevelop.Samples.DateInserter.DateInserterCommands.InsertDate" />
    </Extension>

</Addin>

--- On Fri, 6/19/09, Daniel Morgan <monodanmorg at yahoo.com> wrote:

> From: Daniel Morgan <monodanmorg at yahoo.com>
> Subject: [MonoDevelop] Creating a MonoDevelop Add-In on Windows
> To: monodevelop-list at lists.ximian.com
> Date: Friday, June 19, 2009, 1:48 PM
> 
> I am trying to create an add-in for the new MonoDevelop for
> Windows.  I've been following this web page, but I am
> unable to get it work.  What is not working is that
> thee "Insert Date" menu item does not show in the Edit
> menu.  The MonoDevelop.Samples.DateInserter add-in does
> show in the Add-In Manager though.
> 
> The tutorial is at:
> http://monodevelop.com/Developers/Articles/Creating_a_Simple_Add-in
> 
> Has MonoDevelop's add-in structure changed since 2.0? What
> am I doing wrong?
> 
> I changed the version in my project from 2.0 to 2.1.0 to be
> consistent.
> 
> 
>       
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 


      


More information about the Monodevelop-list mailing list