[Mono-dev] Type.GetType inside of dynamic assembly
Jonathan S. Chambers
Jonathan.Chambers at ansys.com
Thu Sep 1 14:00:09 EDT 2005
I had a bug in my code. I've fixed it and everything works as expected now. Sorry for the false bug.
From: mono-devel-list-bounces at lists.ximian.com on behalf of Robert Jordan
Sent: Wed 8/31/2005 4:32 AM
To: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Type.GetType inside of dynamic assembly
> Might be a simple question, but I'll ask anyway. I have a small
> program that calls Type.GetType("MyType, MyAssembly"). This works fine.
> The program references "MyAssembly" at compile time.
> I also reference another assembly (say "MyAssembly2") in the
> executable. MyAssembly2 doesn't reference MyAssembly. I pass the string
> "MyType, MyAssembly" to a method in MyAssembly2 that calls
> Type.GetType() with the string. This call fails.
> This all works on Windows under MS.Net, and I'm wondering what I
> need to do differently on Linux with Mono. All files are in the same
Since Linux file systems are usually case sensitive, the name
of the assembly must match the file system name.
Are you sure your assembly has exactly the file name "MyAssembly2.dll"?
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list