Notifications
Clear all
[Closed] Loading Assemblies?
Mar 01, 2010 3:16 pm
Could somebody help me out with what should be a simple a problem. I’m trying to load an assembly that I am writing but can’t get Max to load it. Heres the simple code
dotnet.LoadAssembly "C:\\Users\\Jamell\\Documents\\Visual Studio 2008\\Projects\\MoreJ\\MoreJ\\bin\\Release\\MoreJ.dll"
cS = dotNetClass "MoreJ.ColorSet"
which gives me this;
dotNetObject:System.Reflection.Assembly
undefined
For what reasons could it not be loading?
Thanks
J
3 Replies
Mar 01, 2010 3:16 pm
Hi,
Are you sure ColorSet is public? Max wouldn’t see it, it’s not public.
Light
Mar 01, 2010 3:16 pm
Thanks the reply. I’ve sorted it now. It’s kind of embarrassing but I wasn’t putting the full namespace.
J