[Mono-dev] CustomMarshalers Assembly on Linux

Jon Chambers joncham at gmail.com
Mon Jul 17 16:00:54 EDT 2006


Ok, got everything sorted out with some help. The assembly currently isn't
being built. So, can I propose that I

1. Change folder name from Custommarshalers to CustomMarshalers
2. Change assembly name to correctly be CustomMarshalers.dll instead of
System.Runtime.InteropServices.CustomMarshalers.dll.
3. Add assembly to mcs/class/Makefile so that it is built/installed.
4. Implement the contained classes as needed.

Thanks,
Jonathan

On 7/17/06, Zoltan Varga <vargaz at gmail.com> wrote:
>
>           Hi,
>
> I think that assembly is simply not built during the classlib build
> process.
>
>          Zoltan
>
> On 7/17/06, Jon Chambers <joncham at gmail.com> wrote:
> > I'm doing some testing of my COM Interop work, and I'm hitting a problem
> on
> > Linux. The CustomMarshalers assembly does not seem to get installed in
> the
> > GAC on linux, however on windows it does. Is this intentional, as I'd
> like
> > to be able to use them on Linux as well. As a sample, the following
> finds
> > the type on mono on Windows, but doesn't on Linux (compiled with gmcs).
> >
> > using System;
> >
> > namespace custom_marshaller
> > {
> >     class Program
> >     {
> >         static void Main (string[] args)
> >         {
> >             Console.WriteLine ("Type: {0}", Type.GetType("
> >
> System.Runtime.InteropServices.CustomMarshalers.EnumeratorToEnumVariantMarshaler
> ,
> > CustomMarshalers, Version=2.0.0.0, Culture=neutral,
> > PublicKeyToken=b03f5f7f11d50a3a"));
> >         }
> >     }
> > }
> >
> > Thanks,
> > Jonathan
> >
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060717/e7f20fd0/attachment.html 


More information about the Mono-devel-list mailing list