Hi,
as the title suggests I have bumped into this “problem” when developing a C++ plugin for Maya. I would very much like if it wasn’t necessary to restart Maya when I need to recompile and reload a plugin that has already been loaded into Maya. Is this possible?
I remember that when I was starting with Maya plugin development and I used DeclareSimpleCommand macro to make a very simple command, I didn’t have this problem: I was able to unload the plugin in Plug-in Manager, recompile the plugin in Visual Studio and then reload the plugin back. Now I have a little bit more complicated plugin (that declares 3 commands and one custom node). I can unload this plugin without a problem (the checkbox in Plug-in Manager in unchecked) but when I try to compile I get “Cannot open *.mll for writing” error (and when I try to delete the mll I get the Windows message that some program is still using this file).
Am I doing something wrong or is Maya restart with every recompilation a part of the development workflow?
Thank you very much for any help,
David.
