[Mono-dev] CustomMarshalers Assembly on Linux

Zoltan Varga vargaz at gmail.com
Mon Jul 17 13:28:34 EDT 2006


          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
>
>
>



More information about the Mono-devel-list mailing list