Notifications
Clear all

[Closed] Loading Assemblies?

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

hmm is it to do with the white space in the path?

Hi,

Are you sure ColorSet is public? Max wouldn’t see it, it’s not public.

Light

Thanks the reply. I’ve sorted it now. It’s kind of embarrassing but I wasn’t putting the full namespace.

J