Questions tagged [msbuild-wpp]

Microsoft Web Publishing Pipeline

Set of .targets files that assist in packaging ASP.NET projects for easy deployment on IIS servers. Closely related to the utility, .wpp.targets files used to customize the packaging process of specific project, and so-called Publish Profiles used to describe various environment-specific deployment parameters.

For more details see:

30 questions
4
votes
1 answer

Set ACLs during Web Deployment via MSBuild

I have a mostly working web build-and-deploy configuration running in TeamCity, that basically uses MSBuild to automatically deploy the site to a web server. MSDeploy sets everything to Readonly on the target server by default, and I need the…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
3
votes
1 answer

Building a pipeline using Microsoft MSBuild publishing targets?

I am trying to create a Build Pipeline. I am curious whether I am able to leverage the existing Microsoft publishing msbuild targets or whether I need to write my own from scratch. I have a large web site project (not web application). The build…
gregpakes
  • 4,465
  • 29
  • 43
2
votes
2 answers

*.wpp.targets is ignored when publishing a clean solution

When I publish my solution that contains an ASP.NET Web Application for the first time the .wpp.targets file is ignored. The publish folder contains also the files that shouldn't be published. After removing all the files in my publish folder and…
elzen
  • 21
  • 3
2
votes
1 answer

How can I override a pubxml setting via command line in automated deployment scenario?

When publishing a web application with msbuild command line utility, I specify a publish profile name like "dev", which corresponds to the "dev.pubxml" file in the project's Properties/PublishProfiles directory. The file contains setting for…
Triynko
  • 18,766
  • 21
  • 107
  • 173
2
votes
1 answer

How to change app settings of Web.Config using targets.wpp

I have created a wpp.targets file which does all the deployment in azure. I want to change the appsetting property of webconfig during deployment to azure. I found a sample in…
Karthikeyan VK
  • 5,310
  • 3
  • 37
  • 50
2
votes
1 answer

msdeploy cannot reach destination despite having web deployment service started

as you can see from the title I am experiencing some trouble deploying to a remote IIS. Here is what I have done so far: I have set up a virtual machine running an IIS7 on Windows Server 2008. I have bridged the VMs network adapter. I have…
DrCopyPaste
  • 4,023
  • 1
  • 22
  • 57
1
vote
0 answers

Disable MSBuild WPP for a specific web project in a solution

I have a Visual Studio solution with a number of projects, two of which are configured as Web Applications. Project A is used as a class library, but it includes TypeScript files. In order to get the .ts files compiling into .js files, the .csproj…
David Gardiner
  • 16,892
  • 20
  • 80
  • 117
1
vote
2 answers

Run PreSync/PostSync commands via WPP deploy.cmd

I'm trying to figure out how to run a pre/post command using the deploy.cmd generated by VS/MSBuild. I understand there are pre/postsync commands which can be set on the command line with msbuild but this is fixed within the web deploy package…
jaffa
  • 26,770
  • 50
  • 178
  • 289
1
vote
3 answers

Creating a web site webdeploy package when solution builds

I have a VS 2010 WCF service solution which I would like to deploy to IIS 7.5 servers via web deploy package. I would like to have the web deploy package generated when the WCF service project builds. I have seen other examples of how to initiate a…
siva
  • 169
  • 1
  • 1
  • 12
1
vote
1 answer

How do I publish ASP.NET MVC3 application to azure using "Publish -> "Web Deploy"? (getting error: Web Deployment task failed)

I'm getting this error when trying to deploy to azure using "Publish" from my MVC project. I checked Web Management Service and Web Deployment Agent Service and there are both running. Credentials I'm using are valid since I get access to server…
0
votes
2 answers

How do I control which kinds of files Visual Studio will publish by default?

I'm working with a php website in Visual Studio 2010. Everything was going well until I tried to publish. None of the php files are included in the published version of the website. How do I fix this? I read in this thread (Visual Studio 2010 Web…
jpaugh
  • 6,634
  • 4
  • 38
  • 90
0
votes
2 answers

MSBuild ignores changes inside *.wpp.target

I have following *.wpp.target file: ExcludeCustomFilesOrFolders; $(CopyAllFilesToSingleFolderForPackageDependsOn); …
croban
  • 387
  • 2
  • 7
0
votes
1 answer

Parameters.xml - what is the best way to include many of them?

We have a couple of environments where we want to deploy our webapp to. We would like to include a range of setparameters.xml files in our project and when we execute the web publishing pipeline (wpp) we want those be copied over to the destionation…
0
votes
1 answer

Determine port for SSDT publish in VS 2013

How can I determine the port that is being used when I publish an SSDT project from Visual Studio 2013? I need to know the port to troubleshoot an access issue. I looked at the Advanced Properties for the connection, but I couldn't find that…
Ryan Gates
  • 4,501
  • 6
  • 50
  • 90
0
votes
1 answer

UseWPP_CopyWebApplication with web.config transformations

I am trying to build and publish my ASP.NET MVC3 project. I am trying to achieve Web.Release.config transformation using using the MSBuild method I have used the following msbuild command to do the same : msbuild …
Anirban
  • 589
  • 3
  • 16
  • 40
1
2