简体   繁体   中英

Deploying vsts build artifact to local IIS server

I need to understand the way to deploy DOTNET build artifacts from VSTS onto local IIS server. It generates a text file along with others in the artifact which shows the way to deploy. Within that it asks for WEBDEPLOY to be installed to run the .cmd file. I am still confused as to why i cannot just go to IIS admin and just import the said drop artifact.

Can someone suggest please.

错误

文物

Please read here for the WebPackage deploy

Basically, this deployment model is just zip all the published artifacts like dlls, which makes the deployment easier by executing a single command,

<projectname>.deploy.cmd /Y

If you want to deploy manually, you just need to unzip the folder and copy and paste the bin and its corresponding folders into the physical location of the IIS web application.(localhost)

For AzureDevOps release pipeline you can use a simple Cmd Task/Batch Task to execute the <projectname>.deploy.cmd

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM