Remove tab from Umbraco 7 Backoffice on nuget package uninstall
My Umbraco plugin adds a tab to the Developer section of Umbraco 7 back-office and I need to remove this tab on the uninstall of the associated nuget package.
Anyone has an idea of how this can be done ?
PS.: For installation as a local package I have an Application Event Handler that does the adding and removing of this tab, as you can see from the code below:
As the dashboard a located in a config file, the easiest solution would be to use a power shell script that runs in uninstall and removes the entries from the file.
Think nuget has one which is called uninstall.ps vor something like that.
Remove tab from Umbraco 7 Backoffice on nuget package uninstall
My Umbraco plugin adds a tab to the Developer section of Umbraco 7 back-office and I need to remove this tab on the uninstall of the associated nuget package.
Anyone has an idea of how this can be done ?
PS.: For installation as a local package I have an Application Event Handler that does the adding and removing of this tab, as you can see from the code below:
Bu I need to do the same when uninstalling it via nuget. Any Ideas ?
Thanks in advance for your help.
As the dashboard a located in a config file, the easiest solution would be to use a power shell script that runs in uninstall and removes the entries from the file.
Think nuget has one which is called uninstall.ps vor something like that.
Regards David
Thanks Daniel - I'll look into it.
is working on a reply...