solidworks-api
solidworks-api copied to clipboard
can't connect the plugin to solidworks
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); });
thank you in advance for helping!