Questions tagged [microsoft-web-deploy]

Microsoft Web Deploy is a tool to simplify the migration, management, and deployment of IIS Web servers, applications, and sites. Administrators can use command-line scripting with Web Deploy to synchronize IIS 6.0 and IIS 7.0 servers or to migrate an IIS 6.0 server to IIS 7.0.

Microsoft Web Deploy is a tool to simplify the migration, management, and deployment of IIS Web servers, applications, and sites. Administrators can use command-line scripting with Web Deploy to synchronize IIS 6.0 and IIS 7.0 servers or to migrate an IIS 6.0 server to IIS 7.0.

148 questions
5
votes
1 answer

Why does aspnet_compiler need write access to the Temporary ASP.NET Files folder on my build server?

We use a CI server (Jenkins) to compile an ASP.NET project and deploy to our web servers. I want to precompile the site before deployment to increase performance, so I've set the PrecompileBeforePublish property in the Publish Profile…
Brant Bobby
  • 14,956
  • 14
  • 78
  • 115
5
votes
1 answer

pass parameters to batch file in msdeploy runcommand

I am not able to get this to work call "%MSDeployPath%msdeploy" -verb:sync -source:runCommand='backup.bat param1' -dest:auto,computername=10.xx.xx.xx,username=xxx,password=yyy It gives me: Warning: 'backup.bat' is not recognized as an internal or…
5
votes
4 answers

Better alternative to Web Deploy Projects

I have a solution with a fair few projects, 3 of them web-based (WCF in IIS / MVC site). When the solution builds, it dumps each of the components of this distributed system in a 'Build' folder. Running the 'configurator' part of the whole output…
4
votes
1 answer

How can I skip deleting folders except a specified folder for a web deploy (msdeploy) sync?

Suppose I have a destination folder structure that looks like this: D:\DEPLOY\DEST │ 0.txt │ ├───a │ a.txt │ └───b ├───b1 │ │ b1.txt │ │ │ ├───b1a │ │ b1a.txt │ │ │ └───b1b │ …
Ralph Hendriks
  • 309
  • 2
  • 9
4
votes
2 answers

Deploying to FTP/Web Deploy In Visual Studio 2015

I cannot figure out a way to publish a web project in Visual Studio 2015 CTP using web deploy or FTP. In the Publish wizard, there are only options for Azure, Import and File System. In Visual Studio 2013, there is a Custom option where you can…
AndrewC73
  • 141
  • 2
  • 8
4
votes
1 answer

add powershell script to web deploy package for mvc site

I'm about to deploy a MVC4 site using the Web Deploy utility in VS2012. As I can't have direct connection to the server, I'm generating a 'Web Deploy Package' publish profile, which I upload and deploy using IIS > Import package option. This is…
4
votes
1 answer

Web Deploy 3.0 won't work on CI server

From my local machine to a development server, Web Deploy 3.0 works fine with Visual Studio 2012 publish profiles using the following command: msbuild .\myproj.csproj /verbosity:d…
Ryan Langton
  • 6,294
  • 15
  • 53
  • 103
4
votes
1 answer

MSDeploy API - Allow Untrusted Certificate

I am trying to run remote MSDeploy commands using the MSDeploy API through c#. I am running the following: //test connection by pulling down file list var sourceBaseOptions = new DeploymentBaseOptions(); var destBaseOptions = new…
Doug
  • 6,460
  • 5
  • 59
  • 83
4
votes
1 answer

MSDeploy Package has Missing Files

I'm using MSBuild to build a web application project and adding parameters to create the package file. All of that is good. I get two folders in the _PublishedWebSites output: AppName AppName_Package In the ApplicationName folder, the entire site…
Tony Yates
  • 128
  • 1
  • 8
4
votes
1 answer

XPath for web.config applicationSettings webdeploy parameters.xml file is not correct

I use webdeploy to deploy my web site project with a parameters.xml file I have been using a for a while. So far the parameters I've added are all element attributes and it all works well. But I am trying to get the xpath right to update an…
user725104
  • 153
  • 2
  • 9
3
votes
1 answer

Customizing web deploy publish procedure

I'm investigating the powerful of WebDeploy based on Scott Hanselman's post. I was using Web Setup Project before, and trying to find an analog for Custom Actions in Web Deploy. Generally, is there a place in WebDeploy procedure I could integrate…
3
votes
2 answers

MSBUILD web deploy package zip file does not inherit permissions from parent folder

I'm creating a zip file from msbuild using the package target. It creates it fine and the folder I'm putting it in has permissions for a user that allows that user to have full control of the folder. However, when I remove the zip file, then run…
Ben Anderson
  • 1,069
  • 2
  • 16
  • 38
3
votes
2 answers

Deploying a custom static folder under wwwroot

We have a custom folder under wwwroot named Contents with some inner folders shaping a structure for organizing later uploadable files, in the publish mode it is not deployed (On local or server) Here is part of our code which you may be interested…
Kasrak
  • 1,509
  • 4
  • 24
  • 48
3
votes
1 answer

IIS 7.0 IIS Manager does not have the option "Manage Packages" available

Trying to deploy a mvc package, but looking at the instructions here: http://vishaljoshi.blogspot.com/2009/07/importing-web-package-into-iis-manager.html I do not see the "Manage Packages" option visible when I got to IIS Manager->Default Web…
Cem Aykan
  • 53
  • 1
  • 4
3
votes
2 answers

MSDeploy setParameter.xml not transforming web.config

In my "myconfig" config profile transform for web.config i have this under appSettings: When I msbuild with this transform the value is transformed…
red888
  • 27,709
  • 55
  • 204
  • 392
1 2
3
9 10