[MonoDevelop] Addin Cache ?

Lluis Sanchez lluis at ximian.com
Wed Dec 19 06:31:44 EST 2007


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



More information about the Monodevelop-list mailing list