Reputation: 3678
I am trying out a release via Azure DevOps. Below is how my screenshot of IIS WebApp Manage task.
Below is my IIS Web App Deploy task:
My artifacts, i.e., the zip file contains only the folder named package.
But, still, everything present under wwwroot folder gets deployed to the new web app.
Below is the screenshot of my wwwroot directory:
and thus below are the contents shown under IIS for my newly created website:
I don't expect Verify2WebServiceSSL to be present here as it is not part of the .zip artifacts.
Upvotes: 2
Views: 3538
Reputation: 1305
This is setting the root of the website to .\wwwroot, so all other files in .\wwwroot are showing in IIS as part of the website.
Try Updating the following to give your VerifyAPI its own folder and clean it during a deployment.
Physical path: %SystemDrive%\inetpub\wwwroot\VerifyAPI
Check 'Remove Addition Files at Destination'
Upvotes: 1