0

I am trying to do a web deploy of a MVC application. I added Copy files to remote machine, IIS management and IIS web deployment.

I need to deploy it to an application inside App pool. Going through the video URL below https://app.pluralsight.com/player?course=tfs-visual-studio-2015-implementing-continuous-delivery&author=marcel-devries&name=tfs-visual-studio-2015-implementing-continuous-delivery-m4&clip=4&mode=live. The author ask's to specify the website name. In my case the website name is the application name in the app pool.

How do I specify the application name under an app pool in website name parameter of IIS management.

Release management screenshot

Nandan A
  • 152
  • 1
  • 1
  • 10

1 Answers1

1

Based on your description the website name shoule be the application name, so just put the application name as the website name parameter.

Please read the Overview and parameters instruction for the WinRM - IIS Web App Management task . And this Deploy: IIS Web App Manage

Besides, you can also use the MSBuild with arguments to deploy the application, refer to below links to do that:


UPDATE:

If you already have a website and you want to deploy your Application under the website. Then you just need to use the IIS Web App Deploy step. The Web App Management step is not needed.

Just try websitename\appname as the Website name parameter in IIS Web App Deploy step. See Parameters for IIS Application configuration

Andy Li-MSFT
  • 28,712
  • 2
  • 33
  • 55
  • when I try to put application name it creates a new website at the server – Nandan A Dec 21 '17 at 09:51
  • @NandanA That's the expected behavior, just see the **Pre-requisites for the task** ---- IIS Web Server: `There should be a IIS web server already installed and configured on the pre-existing machines or virtual machines. The task creates or updates websites and application pools, and deploys IIS web applications but does not install or configure IIS web server on the machines.` If no site there it will create a new one, and next time it will update the existing site. – Andy Li-MSFT Dec 22 '17 at 10:08
  • @Nandan A Have you resolved the issue? please check if the updated answer helps. – Andy Li-MSFT Dec 26 '17 at 09:59
  • thanks for helping out. I just needed web deploy step – Nandan A Jan 01 '18 at 04:49