|
List Info
Thread: Addin Cache ?
|
|
| Addin Cache ? |

|
2007-12-19 02:47:29 |
|
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 ?
Thanks in advance laas
-- [LAAS] aka Salvatore WebSite: http://www.laas02.org YTSite: http://www.laas02.org/youtranslate
|
| Re: Addin Cache ? |

|
2007-12-19 04:50:00 |
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 lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|
|
| Re: Addin Cache ? |

|
2007-12-19 04:54:26 |
|
Do you mean:
"mdtool setup reg-build -v" (with setup command)
? Ok, I will try. Thanks
On Dec 19, 2007 11:50 AM, Lluis Sanchez < lluis  ximian.com ">
lluis 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". > _______________________________________________ > Monodevelop-list mailing list > Monodevelop-list lists.ximian.com">Monodevelop-list 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
|
| Re: Addin Cache ? |

|
2007-12-19 05:01:40 |
|
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>
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-insAny idea ?
On Dec 19, 2007 12:50 PM, Lluis Sanchez <
lluis  ximian.com ">lluis 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". > _______________________________________________ > Monodevelop-list mailing list > Monodevelop-list lists.ximian.com">Monodevelop-list 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
|
| Re: Addin Cache ? |

|
2007-12-19 05:31:44 |
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://w
ww.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 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 lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
>
>
>
>
> --
> [LAAS]
> aka Salvatore
> WebSite: http://www.laas02.org
> YTSite: http://www.laas02.
org/youtranslate
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
_______________________________________________
Monodevelop-list mailing list
Monodevelop-list lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
|
|
| Re: Addin Cache ? |

|
2007-12-19 05:46:42 |
|
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  ximian.com ">lluis 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.
-- [LAAS] aka Salvatore WebSite: http://www.laas02.org YTSite: http://www.laas02.org/youtranslate
|
[1-6]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|