❔ Deploy app to IIS
does anyone how i can make this deploy script for a .net application more reliable? When i run this script i often get a "Access to the path 'xxx' is denied" on the remove-item step, cause IIS still uses it. what would be the cleanest way to set it offline? Stopping the appPool would work, problem is i can't set a custom error page for that case.
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.