[MonoDevelop] Compiling an add-in with generic methods
trupill at yahoo.es
Sat Oct 22 07:38:56 EDT 2005
John Luke escribió:
>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.
>>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.
I've tried compiling all MonoDevelop with gmcs, but then it can't load
any plug-in, I don't know why. At first, there was an error with an
specific library load that I managed to resolve, but then any code
completion or code colorizing works.
However, I think MD should switch to the 2.0 runtime, because MD 1.0
will sure target Mono 1.2, that already has generics support and so on,
so everybody could benefit.
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
More information about the Monodevelop-list