Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS 2018 Update 2 IIS Website Deployment Deprecated or missing

After updating TFS to update 2, in the CI build tasks "IIS Web App Deployment" is marked as Deprecated. Whats the replacement for this task?

enter image description hereAlso in the CD in the after adding "IIS Website Deployment Template" the IIS Web App Manage and IIS Web App Deploy tasks are marked with This task is no longer installed. Re-install the task or remove it from your definition.

like image 948
Ramy Zbeidy Avatar asked Apr 05 '18 06:04

Ramy Zbeidy


People also ask

How install Web Deploy in IIS?

In IIS Manager, in the Connections pane, right-click your IIS website, point to Deploy, and then click Import Application. In the Import Application Package Wizard, on the Select the Package page, browse to the location of your web deployment package, and then click Next.

Where is Web Deployment Agent Service?

To check that the Web Deployment Agent Service is runningOn the Start menu, point to Administrative Tools, and then click Services. Locate the Web Deployment Agent Service row, and verify that the Status is set to Started. If the service is not already started, click Start.


1 Answers

I just love it when Microsoft changes things out of the blue without clear, available documentation!

It looks like they deprecated these to make way for Marketplace apps. You should add the first one in the list, "IIS Web App Deployment Using WinRM".

https://marketplace.visualstudio.com/items?itemName=ms-vscs-rm.iiswebapp

I've no idea why this isn't "installed" in TFS by default, since it is Microsoft's own solution. Instead, you get the pleasant experience of:

  • Realizing midway through your Release configuration that the one you were used to using is now suddenly deprecated
  • Researching the replacement on SO
  • Clicking "Get Now" on the new IIS Web App Deployment Using WinRM item.
  • Adding it to your TFS account, presuming you have access to do so without having to kick the request up the chain to your TFS instance owner or manager.
  • Saving your release pipeline in progress, because TFS doesn't "see" that you have the new IIS Web App Deployment Using WinRM item until the whole pipeline task creator reloads.
  • Finding and re-opening the pipeline in progress you just saved, only to re-open it and continue editing to complete your initial task.

Cheers!

like image 96
Synctrex Avatar answered Oct 11 '22 15:10

Synctrex