Hi,
If i uninstall a plugin, and reinstall it again with a *.cbplugin file, i get a error message that the plugin is not installed correctly. After closing codeblocks and reopening it, the plugin works correctly. As far as i can tell all resources are copied correctly and the library is loaded, but the
namespace
{
PluginRegistrant<pluginname> reg(_T("pluginname"));
}
is not called and for this m_RegisteredPlugins in sdk/pluginmamager.cpp:1025 is empty and for this the plugin is not detected as loaded.
To reproduce:
1) Create a *.cbplugin archive
2) Install the plugin over Plugins->Manage plugins...->Install
3) Close codeblocks
4) open codeblocks
5) Uninstall the plugin over Plugins->Manage plugins...->Uninstall
6) Reinstall the plugin over Plugins->Manage plugins...->Install
can someone reproduce this?