solidworks-api icon indicating copy to clipboard operation
solidworks-api copied to clipboard

can't connect the plugin to solidworks

Open Idok91 opened this issue 2 years ago • 0 comments

when i open solidworks an exception thrown: System.Reflection.ReflectionTypeLoadException: 'Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.' it comes from this line: ass.GetTypes().Where(p => type.IsAssignableFrom(p) && p.IsClass && !p.IsAbstract).ToList().ForEach(p => { // Create SolidDna plugin class instance var inter = Activator.CreateInstance(p) as ISolidPlugIn; assemblies.Add(inter); });

image

thank you in advance for helping!

Idok91 avatar Jan 03 '23 21:01 Idok91