I’ll need to get a copy of the plug-in to try and reproduce the problem.
That said, unless you are using new V6 functions or only want your plug-in to run in V6 you shouldn’t have to change the SDK path for RhinoCommon. V5 plug-ins that are compiled by the script compiler should run in V6.