Questions tagged [web-deployment-project]

Web Deployment Projects provides developers with advanced compilation options for ASP.NET projects. A Web Deployment Project is an extensible MSBuild script, enabling web developers to create pre-build and post-build actions.

Web Deployment Projects provides developers with advanced compilation options for ASP.NET projects. A Web Deployment Project is an extensible script, enabling web developers to create pre-build and post-build actions.

Web Deployment Projects have been deprecated since Visual Studio 2012, as equivalent functionality is available through the Web Publishing Pipeline ()

379 questions
14
votes
8 answers

ASP.NET Web Deployment Projects: getting rid of .compiled files

I'm using a Web Deployment Project in Visual Studio 2008 in order to prepare my ASP.NET application (ASP.NET web application, not ASP.NET web site) for being copied to several servers. I have to copy the files on local staging servers, on different…
splattne
  • 102,760
  • 52
  • 202
  • 249
13
votes
4 answers

Git: application configuration and different environments

We use git for most of the web applications we build in our shop, and though the applications themselves use a variety of technologies (PHP, Rails, etc), we generally have a staging and production server for each site. Typically, these servers have…
13
votes
2 answers

Invoke a publish from msbuild for visual studio 2012

For VS2010 and before I was utilizing Web Deployment Projects (WDP) to help package my website for production deployment. I had a MSBuild script that compiled the solution in release mode. An output of that was production ready website files…
John Livermore
  • 30,235
  • 44
  • 126
  • 216
12
votes
5 answers

Deploy a PHP project from Git to a server that does not have Git installed

I need to find a method of deploying a PHP project stored in a git repo to a staging and production server that do not have git installed. Scripts I've found so far (ie Capistrano) require Git on the target server. Unfortunately, my host does not…
designermonkey
  • 1,078
  • 2
  • 16
  • 28
11
votes
2 answers

VS2008 Web Deployment Project Section Replacement with Elmah

I'm using a web deployment project and want to do some section replacement with the emlah/errorMail section. I don't want to send emails in debug build mode. I have created the custom section and put it in an errorMail.config. In the properties of…
Josh Close
  • 22,935
  • 13
  • 92
  • 140
11
votes
2 answers

How to delete multiple files with msbuild/web deployment project?

I have an odd issue with how msbuild is behaving with a VS2008 Web Deployment Project and would like to know why it seems to randomly misbehave. I need to remove a number of files from a deployment folder that should only exist in my development…
Alex
  • 2,815
  • 2
  • 24
  • 22
11
votes
3 answers

Using NuGet with *.dll.refresh files in ASP.NET "Web Site" projects with Web Deployment Projects

If you have an ASP.NET Web Site project type (the one without a proper .csproj or .vpproj project file and that is just a folder of loose files), then when you add a package with NuGet, it makes a *.dll.refresh file in the Bin directory to reference…
Derek Morrison
  • 5,456
  • 4
  • 31
  • 24
11
votes
1 answer

Visual Studio Deployment Package - change the file structure the .zip creates?

Everything works as expected but I would like to improve the directory structure that the .zip produces. When I create a deployment package I have it create in a custom directory which works fine but the .zip it creates is in the structure…
KevinUK
  • 5,053
  • 5
  • 33
  • 49
11
votes
1 answer

Visual Studio 2012 and Web Deployment Projects (wdproj)

Can't seem to find any clear info on this. When I open my Visual Studio 2010 SP1 solution in Visual Studio 2012, it reports that wdproj is incompatible. What's the 2012 alternative to wdproj?
Charles Josephs
  • 1,495
  • 3
  • 14
  • 25
10
votes
3 answers

Adding to built-in ExcludeFromBuild ItemGroup with Web Deployment project

I've added a Web Deployment Project to my solution to create a clean deployment of my web application. This works mostly as expected... i.e. builds the source & then copies the files to be deployed to a /Release folder (and excludes things like…
Alconja
  • 14,834
  • 3
  • 60
  • 61
10
votes
3 answers

Do I need to copy the .compiled files to the production server?

I'm using a deploy project to deploy my ASP.net web application. When I build the deploy project, all the .compiled files are re-created. Do I need to FTP them to the production web server? If I do a small change do I need to copy all the web site…
Eduardo Molteni
  • 38,786
  • 23
  • 141
  • 206
9
votes
4 answers

File not found when building a Web Deployment Project

I've got a web deployment project that builds and zips a web application project. I am getting a lot of errors when I build the WDP, as follows: Error 73 The file '/Foo.csproj/Properties/Administration/Modules/ACL.ascx' does not exist. …
Greg B
  • 14,597
  • 18
  • 87
  • 141
9
votes
7 answers

Web app deployment Best Practices : how to manage local & live files?

I am writing php web applications, and simply deploy them via FTP. To make it work, I often have some tweaking/debugging to do given that I have little control over the (free) web server hosting me, so what's working in my local environment might…
Polypheme
  • 444
  • 1
  • 4
  • 12
8
votes
1 answer

Web Deployment Project - Copy Files After Build

Currently I have set up a Web Deployment Project which compiles code into the .\Release folder. After the build I want to copy the files over to another machine (because whichever directory you build to is deleted then recreated). The ItemGroup for…
SamWM
  • 5,196
  • 12
  • 56
  • 85
7
votes
4 answers

nginx + FastCGI for django application---run two webservers or one?

I'm about to deploy a Django application on a nginx web server, and want to make sure I'm building the system correctly. It seems to be common wisdom that if you are deploying Django on an apache server, then you should still put an nginx server in…
Adam
  • 227
  • 1
  • 2
  • 6
1
2
3
25 26