I am using msdeploy to transfer my changes(via a nant script in Team City) that I make to a site and it is great!! I have just one question, I am using msdeploy with the sync feature to make my life easier.
I currently exclude the web.config in my msdeploy because I do not know how to change the web.config on the fly. How do I change ...
I have a msdeploy in my nant script(Team City) that is working except it is copying some folders that I do not want to copy. What command will skip these directories? I tried:
and
None of these commands seem to work and the Build scripts directory is still copied fromm source directory to destination directory? The msbuild does a sync...
I would like to execute msdeploy from a powershell script to create a deployment package, but i can't find out what parameters Visual studio is actually calling msdeploy with.
...
I am researching one-click deployment with Visual Studio 2010, the current deployment process involves zipping up the contents of the IIS folder and taking a backup of the current database before completing the remaining manual deployment steps. This allows us to roll back a deployment, I need to retain the essence of this process if not...
Hi,
I'm trying to automate deployment of a site. I started with this article
and everything works great from VS 2010. However, I'm having problems with the command line
I use this
c:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "d:\Projects\test.csproj" /T:Package /P:PackageLocation="d:\Package\packageTest.zip"
to create t...
Hi,
I would like to know if in IIS manager, when I export an application, there is a way to save components selected so, when I export next time, to select them by default (like appHostConfig). Thank you.
...
Hi.
Sorry for cross-posting, but I didn't get lucky posting at the IIS forum.
We're using msdeploy (or web deploy if you wish) to package and deploy web apps. By declaring parameters package time we can provide values at deploy time (to replace connection strings among other things).
The problem we currently face is replacing values i...
Hi, all.
I have a msdeploy question about how to replace attribute values for providers in source manifests during deployment.
Background:
I use msdeploy to create deployment packages during release builds. I want the packages to be suited for deployment to test/staging/production and need to be able to change configuration values dep...
we're using the msdeploy service on a development server. I can publish to the server without any problems, however I am a member of the administrators group. When another regular user tries to publish, they get 401 Unauthorized in Visual Studio.
I realise this is due to some sort of authorisation, but where the hell do i configure whic...
Hi,
Am I missing something or when importing an application in IIS you have to manually uncheck config files for sync and you can't set a rule as in command line ?
skip:objectName=filePath,absolutePath=.*.config
I also would like to avoid modifying msdeploy.exe.config
Thank you
...
I am using the MSBuild runner in Team city to build and deploy my project to a staging environment. Everything works perfectly except for the fact that it keeps removing my repository folder located in the root of the project.
In Visual Studio 2010 there is a check box in the publish profile dialog that says "Leave extra files on destin...
I've read where it's possible to utilize MSDeploy to install windows services or even performance counters on a remote machine. I see how this can be accomplished using the MSDeploy "sync" from a source directory to a destination directory. Is there some way of actually having the source be the binaries contained within the .zip file i...
Hi,
We're using msdeploy to deploy our sites to various environments from our continuous integration server.
When the artifacts are deployed manually to the dev site from the command line. The deployment only pushes changed files and is very quick.
However, when we push to our test or live environments the deployment copies a lot of f...
I'm successfully using Visual Studio 2010's Publish wizard to publish to a remote site. However when I try to do the same thing over the command line I keep getting the error: Could not complete the request to remote agent URL 'http://example.com:8172/MSDeploy.axd.
I'm sure I'm just missing a flag somewhere.. Here are the settings that ...
Hi guys,
How do I set the runtime .NET version in web deploy command line as I wanna run the web site under .NET v4?
Cheers
...
I would like to install the Web Deployment Handler service on my development machine (Windows 7 with IIS7) for test purposes, but according to the documentation on MSDN (http://technet.microsoft.com/en-us/library/dd722796(WS.10).aspx) it seems like it can only be installed on Windows Server 2008 with IIS7.
Anyone knows of a way around ...
I'm trying to deploy my ASP.NET MVC 2 Website for the first time on a local IIS 7 server, which is configured and running. I've made successful deployments using the Web Deploy option without the databases (so the site isn't fully working yet). Most of the deployment settings are pretty intuitive, however, I have problems with the Packag...
Is it possible to change the destination directory when using the metakey provider with msdeploy? I am syncing an IIS6 website to a II7 server, which is completely successful. I now want to try to customize some things like directory, bindings, logging, etc.
Example of what I'm using:
./msdeploy -verb=sync "-source=metakey=lm/w3svc/123...
I'm using VS2010 with the Web Deployment Projects to create a release package for my web application. In WDP I have created some build tasks to for example transform the web.config, create some directories and remove some files.
Now I've migrated the web application to ASP.NET 4 and I've been looking at this feature in VS2010 called Pac...
I want to delete some image resources depending on what build I'm releasing using MsDeploy.
I have three builds for different clients which are basicly another theme and a lot of configuration transforms to setup their environments correctly.
I don´t want to include the image resources for client1 when deploying to client2.
Been using ...