I have a Python plugin that I rebuild and reinstall frequently during development.
My workflow has been:
- Keep the package version the same, for example
0.0.2-beta. - Add or modify commands in the project.
- Build the Yak package.
- Uninstall the old plugin.
- Install the newly built package with the same version.
- Start Rhino and test.
This has worked for weeks. New and modified commands showed up as expected after uninstalling/reinstalling the same beta version.
Today I added a new command, rebuilt the package, uninstalled the old package, installed the new one, and restarted Rhino. The new command did not appear in plugin command list and could not be run from the Rhino command line.
I spent 30 minutes checking the project file, generated command source, installed package contents, and the .rhp. Everything seemed to contain the new command.
Eventually I changed only the package/plugin version from 0.0.2-beta to 0.0.3-beta, rebuilt, uninstalled, reinstalled, and restarted Rhino. After that, the new command appeared and worked.
Any idea abuot what happened?