I'm trying to delete a site I created for test reasons through Deployment Center but I get an error,
"Error - Constructor not found. Cannot find an appropriate constructor for type System.IO.DirectoryInfo."
Does anyone have a clue why?
Looking at the powershell script being executed (C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\Install\System Scripts\Delete Site.ps1) it looks related to the site's VPP folders.
Just delete the site/VPPs manually from disk and the delete the site from IIS, instead of via deployment center.
Yes that's what I end up doing. It's just annoying that deleting through Deployment Center doesn't work with any sites.