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
232
votes
31 answers

Visual Studio 2012 Web Publish doesn't copy files

I have a Web Application project in VS 2012 and when I use the web publishing tool it builds successfully but doesn't copy any files to the publish target (File System in this case). If I look at the build output I can see everything gets copied…
45
votes
6 answers

VS2010 Web Publish command line version of File System deploy

Folks, In a nutshell, I want to replicate this dialog: It's a Visual Studio 2010 ASP.Net MVC project. If I execute this command, I get all the files I want, including the transformed web.configs in the "C:\ToDeploy" directory. I want to replicate…
44
votes
22 answers

Build succeeds, but publish fails

Up until two days ago, I was able to use Visual Studio 2010's "Publish Web" option by right clicking on my project and clicking the publish button on the context menu. Now when I try to do the same thing, I get the following output: ------ Build…
p.wilt
  • 536
  • 1
  • 4
  • 6
28
votes
2 answers

MSBuild - Project-specific targets for solution does not work

I have a solution that has multiple projects in it, including a web application. I want MSBuild to execute "WebPublish" target against the web application project and "default target" for all other projects in the solution. This MSDN article says…
Philipp Munin
  • 5,610
  • 7
  • 37
  • 60
27
votes
1 answer

Deploying an existing package using publish profiles

I'm trying to use the new publish profile support (available in VS2012 and in VS2010 via an update) to create a continuous delivery "deployment pipeline", whereby a package/zip is made in the first "stage" and the same package is deployed to various…
Richard Szalay
  • 83,269
  • 19
  • 178
  • 237
19
votes
1 answer

Publishing vs2012 solution from TeamCity

I'm using Visual Studio 2012 and the publishing feature. I have created a publishing profile that deploys my application to a development server, and it works great when executed from vs2012 on my machine. Here is my problem; on the development…
Pelle
  • 2,755
  • 7
  • 42
  • 49
9
votes
3 answers

pubxml web publish tool Event Lifecycle

I am using the Web publishing tool from Visual Studio 2012 to publish to File System. I learned that I can open my *.pubxml in the Properties folder to do more advanced things. What I want to do is run a command line application at the end of the…
silverfighter
  • 6,762
  • 10
  • 46
  • 73
8
votes
1 answer

What is the purpose of Binaries\_PublishedWebsites directory under TFS build

TFS generates a publish directory under the build agent working directory: Z:\TFSBuilds\1\box\CT\Binaries\\_PublishedWebsites I am supposing that this is where TFS is automatically publishing the site. How can I use it for auto publishing of…
sam
  • 4,594
  • 12
  • 61
  • 111
8
votes
3 answers

Is it possible to link Web.config transform with publishing profile?

Currently I can easily setup Web.config transform based on build configuration, e.g. use connectionString=server;.. for Debug and connectionString=./SQLExpress;.. for Release. But is it possible to do some Web.config transformation basing on web…
abatishchev
  • 98,240
  • 88
  • 296
  • 433
6
votes
1 answer

Why can't Web Publish/Deploy Find my Web.config?

I've just clone OrchardCMS from codeplex, built it and tried to deploy it to my web hosting service using Visual Studio's 'Publish' command. No files get published and the publish fails with the following error: 1>------ Publish started: Project:…
Tim Long
  • 13,508
  • 19
  • 79
  • 147
5
votes
0 answers

How to extend msdeploy/publishing pipeline for .NET Core apps

Old style/.NET Framework webapps in Visual Studio have a publish pipeline that could be customized. For example, a Parameters.xml file could be specified, like so:
crimbo
  • 10,308
  • 8
  • 51
  • 55
5
votes
1 answer

Different connection string for each publish profile in VS2010

Is it possible to change connection string (or just server host) relying on selected web publish profile? Maybe using Web.config transform or someway else? I mean for profile "Test" change connection string "MyConnString" (in published Web.config)…
abatishchev
  • 98,240
  • 88
  • 296
  • 433
4
votes
1 answer

How to use the Web Publishing Pipeline and Web Deploy (MSDEPLOY) to Publish a Console Application?

I would like to use web deploy to publish a Visual Studio "Console" application to a folder on the target system. I have had some luck, and have been able to produce something similar to what I need, but not quite. I've added the following to the…
John Saunders
  • 160,644
  • 26
  • 247
  • 397
4
votes
1 answer

Error: The Target "GatherAllFilesToPublish" does not exist in the project, but is in v10.5 folder

I've been going around and around on this issue. I've got a ASP.NET MVC 3 Web application built in VS2010 SP1. When I attempt to Publish to the local file system, I get the error The Target "GatherAllFilesToPublish" does not exist in the…
scott-pascoe
  • 1,463
  • 1
  • 13
  • 31
4
votes
1 answer

Customizing Visual Studio 2012's Web Publishing Pipeline (WPP) for build server

I'm working on creating a build and deployment infrastructure for a large corporate service infrastructure. We're using TFS Build 2012 for our Build Server, Visual Studio 2012 to generate WPP deployment packages, and MSDeploy 2.1 to perform the…
ShadowChaser
  • 5,520
  • 2
  • 31
  • 33
1
2