Failed to load plug-in

Hi @dale,

Unable to load SdrLast.rhp plug-in: could not open plug-in file or plug-in failed to start.

@NiceDay has this error message when he loads his plug-in in Rhino 5 on Windows 7. Installing all Windows updates doesn’t solve the problem. Is there a method to detect what is missing or wrong? He said he has to install Visual Studio 2010 on the computer to load the plug-in.

Hi Kelvin,

You can get the “Unable to load plug-in: could not open plug-in file or plug-in failed to start.” message for a variety of reasons, including crashes in the plug-in’s InitInstance() or other startup code, or if the .RHP file cannot be read.

Does this help?

– Dale

@NiceDay How do you think?

Is it a dotnet plugin? Maybe if it is built against dotnet 4.5 this would be the problem (rhino v5 only deploys v4). Solution is either to target 4.0 or make sure the 4.5 framework is installed (which is maybe why visual studio fixes the problem).

Cheers,

Jon