Convert to Application feature of IIS


How can I convert sub directory of existing application into another application using octopus deploy

Hi Kumar,

Thanks for reaching out. There’s no built-in way to do this from Octopus. The only way would be to script this out using a combination of Powershell + Octopus features.

I’d personally recommend you though to use Octopus to:

  1. Create the brand new application and deploy the code you want on it from a Nuget package (not copying it from another sub dir or app)
  2. Use Octopus to delete the sub-dir app and all traces of it. Only if (1) was successful obviously.

Best regards,