Hello everyone. I’ve read all the other discussions about this problem but didn’t manage to solve the problem.
I’m trying to go Debugging using Visual Studio 2022 for a plug-in in Rhino 6.
The problem is that i receive the message on Title of the Topic only if i Run the Debug.
So if I open Rhino normally, delete the plug-in .dll, I can use it and works like a charm. But in this way I can’t debug it. I’ve tried unistalling via CMD and removing all the folders, but nothing again, I still receive the message that the Plug In is already in use.
Can anyone help me to find a solution please?
PS. I could debug this plug-in before, so it can work…
Hello Dale,
thanks for you answer. I’m working on C# and yes the plug-in was correctly installed. Actually that was the problem!
I needed to remove the plug-in from the instance of Rhino 6 and add this line of code:
public override PlugInLoadTime LoadTime => PlugInLoadTime.AtStartup;
In the class that inherits from PlugIn.
Now when i debug the plug-in gets installed byitself correctly.
Anyway this is really strange because in another Computer I can start the debug without this line of code and without removing the Plug-In from Rhino 6…
Anyway I hope that this line of code can help other people to reach a fast solution.
Thanks!