In our office we are using source control to collaboratively work on our Plug-In projects.
Now we have trouble debugging this Project.
My colleague is working on a new computer and it seems like the default Rhino Location name has changed
from “Rhinoceros 5.0 (64-bit)” to “Rhinoceros 5 (64-bit)” skipping the “.0” from the path.
Since the debugging location is set in the .csproj File, it either works on one or the other machine.
You could either manually edit the .csproj in a text editor, or in Visual Studio for project settings change the Start Action for the Debug section. Browse to the correct location and select the Rhino.exe you need to start.
But the setting needs to be different for each machine that connects to the Cloud Source Control. If I change it and sync my file, the other machine won’t be able to debug.
(The Problem is probably not only a Debug Folder Problem - probably references to the RhinoCommon.dll, etc. will be effected, too)
Is there a System Variable I could insert for Rhino. (Basically let the Computer Look up where Rhino has been installed and use this folder)
Can’t you add an extry property like: Debug64-5.0|AnyCPU that redirects to the 5.0 version? Then you only have to pick another debugger from Visiual Studio.
Besides Jordy’s method, either you or your colleague can add a .csproj.user file, at the same location of your .csproj file, containing something akin to this (edit the path):
This path will take priority over the one stored in .csproj.
If the .csproj file is called myplugin.csproj, then your user file should be called myplugin.csproj.user.