[MonoDevelop] Compiling an add-in with generic methods
john.luke at gmail.com
Fri Oct 21 16:13:35 EDT 2005
On Fri, 2005-10-21 at 12:43 -0700, Christian Hergert wrote:
> We are not currently targeting the 2.0 runtime. Therefore, this will not
> work. You need to use 1.1 profile assemblies only.
> ~ chris
> On Fri, 2005-10-21 at 15:49 +0200, Alejandro Serrano wrote:
> > Hi, I need to compile an add-in using the Generics C# Compiler (gmcs)
> > instead of normal mcs. My add-in is using generics methods from a
> > library, so I cannot just use mcs or change to it. My question is: can I
> > compile the add-in with gmcs and MonoDevelop will recognise it? My first
> > attempts were not successful, so I need some help.
A more sophisticated answer is that AddIns would have to be loaded in
seperate AppDomains for that to be possible. Currently, MonoDevelop
loads all addins in one AppDomain. This is simpler and slightly better
performing. There is a fairly good presentation from MS on the
tradeoffs of these type of things regarding AddIns among the PDC
presentations which I can't seem to find right now.
So you will either have to wait for MD to switch to 2.0, or try to
compile it with gmcs and run it hacking around issues you notice.
More information about the Monodevelop-list