[Mono-dev] CustomMarshalers Assembly on Linux

Jon Chambers joncham at gmail.com
Mon Jul 17 10:39:16 EDT 2006


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060717/48918981/attachment.html 


More information about the Mono-devel-list mailing list