Skip to content

Commit 7f155d5

Browse files
committed
Merge pull request #1692 from Microsoft/users/subraman/fixingvariablecasing
IIS Task deprecated message
2 parents b315f24 + b3dccd8 commit 7f155d5

File tree

5 files changed

+13
-6
lines changed

5 files changed

+13
-6
lines changed

Tasks/IISWebAppDeployment/DeployIISWebApp.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
[string]$deployInParallel
3737
)
3838

39+
Write-Warning "The preview IIS Web App Deployment task has been deprecated and will be removed soon. An IIS Web App Deployment extension has been released in the Visual Studio Team Services marketplace at http://aka.ms/iisextn. Install the extension, and use its tasks in the Build/Release definitions, and delete the preview task from the definition."
3940
Write-Verbose "Entering script DeployIISWebApp.ps1" -Verbose
4041

4142
$hostName = [string]::Empty

Tasks/IISWebAppDeployment/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# IIS Web Application Deployment
22

3+
## **Important Notice**
4+
The preview IIS Web Application Deployment task has been **deprecated and will be removed soon**. The task has been **shipped as an extension for Visual Studio Team Services**, and is available in the marketplace - https://marketplace.visualstudio.com/items?itemName=ms-vscs-rm.iiswebapp.
5+
6+
**Install the extension, and add the tasks from the extension in Build or Release Definitions, and remove this IIS Web Application Deployment task from the definition.**
7+
8+
39
## Overview
410

511
The task is used to deploy a web application or a website to IIS web server and to create or update websites and application pools, and the underlying technologies used by the task is [Web Deploy](http://www.iis.net/downloads/microsoft/web-deploy) and [AppCmd.exe](http://www.iis.net/learn/get-started/getting-started-with-iis/getting-started-with-appcmdexe). Web Deploy packages the web application content, configuration and any other artifacts like registry, GAC assemblies etc. that can be used deployment. If the package needs to be redeployed to a different environment, configuration values within the package can be parameterized during deployment without requiring modifications to the packages themselves. Web deploy works with IIS 7, IIS 7.5, IIS 8, and IIS 8.5. AppCmd.exe is the single command line tool for managing IIS 7 and above. It exposes all key server management functionality through a set of intuitive management objects that can be manipulated from the command line or from scripts.

Tasks/IISWebAppDeployment/Strings/resources.resjson/en-US/resources.resjson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"loc.friendlyName": "IIS Web Application Deployment",
2+
"loc.friendlyName": "[Deprecated] IIS Web App Deployment",
33
"loc.helpMarkDown": "[More Information](http://aka.ms/iiswebappdeployreadme)",
44
"loc.description": "Deploy by MSDeploy, create/update website & app pools",
5-
"loc.instanceNameFormat": "Deploy IIS App: $(WebDeployPackage)",
5+
"loc.instanceNameFormat": "[Deprecated] Deploy IIS App: $(WebDeployPackage)",
66
"loc.group.displayName.deployment": "Deployment",
77
"loc.group.displayName.website": "Website",
88
"loc.group.displayName.applicationPool": "Application Pool",

Tasks/IISWebAppDeployment/task.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"id": "89A3A82D-4B3E-4A09-8D40-A793849DC94F",
33
"name": "IISWebAppDeployment",
4-
"friendlyName": "IIS Web Application Deployment",
4+
"friendlyName": "[Deprecated] IIS Web App Deployment",
55
"description": "Deploy by MSDeploy, create/update website & app pools",
66
"helpMarkDown": "[More Information](http://aka.ms/iiswebappdeployreadme)",
77
"category": "Deploy",
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 1,
1616
"Minor": 0,
17-
"Patch": 16
17+
"Patch": 17
1818
},
1919
"demands": [
2020
],
@@ -405,7 +405,7 @@
405405
"helpMarkDown": "This input is valid only for machine groups and is not supported for flat list of machines or output variables yet. Provide a list of machines like, dbserver.fabrikam.com, webserver.fabrikam.com, 192.168.12.34, or tags like, Role:DB; OS:Win8.1. If multiple tags are provided, then the task will run in all the machines with the specified tags. For Azure Resource Groups, provide the virtual machine's name like, ffweb, ffdb. The default is to run the task in all machines."
406406
}
407407
],
408-
"instanceNameFormat": "Deploy IIS App: $(WebDeployPackage)",
408+
"instanceNameFormat": "[Deprecated] Deploy IIS App: $(WebDeployPackage)",
409409
"execution": {
410410
"PowerShell": {
411411
"target": "$(currentDirectory)\\DeployIISWebApp.ps1",

Tasks/IISWebAppDeployment/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"version": {
1515
"Major": 1,
1616
"Minor": 0,
17-
"Patch": 16
17+
"Patch": 17
1818
},
1919
"demands": [],
2020
"minimumAgentVersion": "1.91.0",

0 commit comments

Comments
 (0)