[C++] How do you handle plug-in dev for Rhino 6 & 7?

Hi,

Referencing to this post [Rhino 6 & 7 C++ SDKs] Can't create new project configurations, I’d like to ask to developers who handle plug-in development for both Rhino 6 & 7: how do you do it or what are best practices?

Do you have a single solution in VS2019 that contains a configuration to compile the code for VS2017 with SDK 6 and another configuration to compile it for VS2019 with SDK 7?
Or do you have two separate solutions (one in VS2017 and another in VS2019) referencing the same code?

Any help is very much appreciated,
Pablo

R6 API is extended in R7, not modified, so R7 should be able to run R6 plugins.

// Rolf

Sure, but Pablo may want to actually compile a V7 version to get access to the new functions added in V7

Hi @pagarcia,

If you are using GitHub, you might consider just creating separate branches for Rhino 6 and Rhino 7 builds. This way, you don’t need to add additional build configurations.

– Dale

1 Like