[MonoDevelop] Addin Cache ?

laas laas.mono at gmail.com
Wed Dec 19 06:46:42 EST 2007


Great !
Now it works.

Many thanks. As soon as possible I will share my Addin with the community..
:-)

I'm also writing a little tutorial on "how to write a simple (very simple)
MonoDevelop addin"...

Bye
LAAS

On Dec 19, 2007 12:31 PM, Lluis Sanchez <lluis at ximian.com> wrote:

> El dc 19 de 12 del 2007 a les 13:01 +0200, en/na laas va escriure:
> > Running the "mdtool reg-build -v". I receive an error about my addin:
> >
> > ERROR: Errors found in add-in '/usr/lib/monodevelop/AddIns/laas.dll:
> > ERROR: The file 'laas.png' referenced in the manifest could not be
> > found.
> >
> > But the file laas.png is embedded as resource in my dll with the
> > addin.xml file where I've the following:
> >
> > <Runtime>
> >         <Import assembly="laas.dll"/>
> >         <Import file=" laas.png" />
> >     </Runtime>
>
> If you embed the file as a resource you don't need to "import" it. The
> Import element is only needed when the file is distributed standalone.
> Removing the import should fix the error.
>
> >
> > and
> >
> >     <Extension path="/MonoDevelop/Core/StockIcons">
> >         <StockIcon stockid = "laas-logo" resource="laas.png" />
> >     </Extension>
> >
> > in order to use the image inside the Addin.
> >
> > I've produced the local repostiory using the commands listed at the
> > bottom of the following page:
> >
> > http://www.monodevelop.com/Writing_an_Add-In
> >
> > In the chapter:
> >
> > Packaging and publishing add-ins
> > Any idea ?
> >
> > On Dec 19, 2007 12:50 PM, Lluis Sanchez < lluis at ximian.com> wrote:
> >         El dc 19 de 12 del 2007 a les 09:47 +0100, en/na laas va
> >         escriure:
> >         > Hi all,
> >         > I'm developing my own MD Addin. In order to test the new
> >         addin I have
> >         > created a symbolic link to the DLL (my addin is a single DLL
> >         with
> >         > embedded the addin.xml file) inside
> >         the /usr/lib/monodevelop/Addin
> >         > folder. My Addin is shown in the Addin Manager and I can
> >         easily
> >         > enable/disable it.
> >         > After a lot of tests I have deleted the link but the Addin
> >         is still
> >         > available. How it is possible ?
> >         > Is there a user specific folder where MD stores some kind of
> >         > information about Addin or should I use mdtool to flush the
> >         cache ?
> >
> >
> >         MD stores add-in information in
> >         ~/.config/MonoDevelop/addin-db-001, but
> >         it detects add-in changes at startup and should have detected
> >         that the
> >         add-in was deleted. Try running "mdtool reg-build -v".
> >
> >         >
> >         > Thanks in advance
> >         > laas
> >         >
> >         > --
> >         > [LAAS]
> >         > aka Salvatore
> >         > WebSite: http://www.laas02.org
> >         > YTSite: http://www.laas02.org/youtranslate
> >
> >         > _______________________________________________
> >         > Monodevelop-list mailing list
> >         > Monodevelop-list at lists.ximian.com
> >         > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
> >
> >
> >
> > --
> > [LAAS]
> > aka Salvatore
> > WebSite: http://www.laas02.org
> > YTSite: http://www.laas02.org/youtranslate
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>


-- 
[LAAS]
aka Salvatore
WebSite: http://www.laas02.org
YTSite: http://www.laas02.org/youtranslate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20071219/52c4375c/attachment-0001.html 


More information about the Monodevelop-list mailing list