When distributing plugin with rhi file i have came across with installation problem when sometimes installation ends with “Error loading - [plugin name]”. For long time i was thinking there was some permission problem or problem on writing to registry. Since typically registry has only partial information. Recently i found that some systems didn’t have .NET 4.5 and my plugin was built against 4.5 (default in Rhino plugin template). Updating client .NET solved problem. Not sure if i have overlooked something but it wasn’t obvious. Would be super nice to have some list of known problems and solutions when distributing plugins with rhi.
Here are two ways i have used to check .NET version
One way to do that is from registry
and another way to check from cmd.
wmic product where “Name like ‘Microsoft .Net%’” get Name, Version
Rhino 5 uses .NET Framework 4.0. So if you were to target your plug-in project for this framework, you might not have these types of install problems.
I wanted to share this problem since I couldn’t find much information about potential cause. For next release i will need to change code to build against .NET 4.0
@piac, is this true? Seems like we may need to adjust the wizard.
At least wizard i have used it opens like that.
Yes it indeed opens like that. I need to investigate why.
It should be fixed now. The update should be installed by Visual Studio, if you have the extension installed.
Thanks for reporting this!
for Robert McNeel & Associates
I have exactly similar error-done-installing-plug-ins-press-close-to-continue-but-error-loading
I have dotnet framework 4.5 and when I uninstalled previous version manually by going to C:\Program Files\Common Files\McNeel\Rhinoceros\6.0\Plug-ins and removing the plugin and again installing it via rhi installer it installed but gave this error.
This is a pretty old thread to be replying to. Can you please provide more information about your problem or what you are doing to reproduce the problem? As it stands, you have not provided enough information for us to help.