KevinJump / Our.Umbraco.BackOfficeThemes

Backoffice Themes for Umbraco 8+
13 stars 8 forks source link

Can't fully uninstall #32

Open axelkennedal opened 5 months ago

axelkennedal commented 5 months ago

I installed this package a while ago and then I realized I don't need it, so I uninstalled the Nuget in Visual Studio.

The problem is that the uninstall doesn't quite work. First, the folder in App_Plugins for BackOfficeThemes was still present after the uninstall, and when entering the Umbraco Backoffice I got a 404 error message saying:

Request error: The URL returned a 404 (not found): /umbraco/backoffice/themes/backOfficeThemeApi/GetCurrentTheme

So I deleted the BackOfficeThemes folder in App_Plugins. Now I don't get the 404 error message. But when I look in the browser console I'm still getting some errors:

image

So, how do I completely uninstall this package?

KevinJump commented 5 months ago

Hi,

you will also need to remove the dll's from, the site (Our.Umbraco.BackOfficeThemes.*).

depending on how you have build/ran your site this will either be in the bin folder or the root folder of the site.

when you do a dotnet publish (or equivalent on a deploy) the site files won't have the dll for this package in, but if you don't have your deployment completely replacing the files then files that are from previous deployments will still be there. this isn't a 'this package' issue, its how .net deployments work. you would have to remove dll's from other packages should you remove them