System.Reflection.Assembly.LoadFrom()

System.Reflection.Assembly.LoadFrom()

brianchapmandesign
Collaborator Collaborator
901 Views
2 Replies
Message 1 of 3

System.Reflection.Assembly.LoadFrom()

brianchapmandesign
Collaborator
Collaborator

For some reason System.Reflection.Assembly.LoadFrom() is failing to load my dll. I can load the dll manually and it works fine so I'm not sure why.

 

I've double checked the path, the string, etc.  9 of the files load okay, 3 fail. Any ideas what could cause this?


"Very funny, Scotty. Now beam down my clothes.
0 Likes
902 Views
2 Replies
Replies (2)
Message 2 of 3

brianchapmandesign
Collaborator
Collaborator

Still could use some help with this...any ideas?


"Very funny, Scotty. Now beam down my clothes.
0 Likes
Message 3 of 3

Balaji_Ram
Alumni
Alumni

Can you please try these ? It might provide some clues.

 

1) http://adndevblog.typepad.com/autocad/2012/06/net-assembly-bindingloading-problems.html

 

2) Copy the dll to the AutoCAD exe folder and try loading them.

 

If those do not help, can you please share some more information on what those dlls are and how their dependencies ?

 

Regards,

Balaji

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

0 Likes