web-deployment-project

NAnt Web Application Deployment

Good day. I'm trying to deploy a web application using NAnt. It is current zipped using the NAnt ZIP task. I can try calling MSDeploy from NAnt but I don't think MSDeploy was written for such deployments. I can also try using NAnt task. Does anybody have suggestions as to what approach can save me the most time? ...

Automate VS2005 Publish Web Application Project

I want to automate publishing a VS2005 ASP.NET Web Application Project to a disk path from the command line as part of my build process (i.e. the equivalent of selecting Build/Publish from the IDE). I've tried Microsoft's Web Deployment Project, and it seems half-baked to me: it deploys files that are not part of the Web Application pro...

running the build action of web deployment project from final builder

hi, as you know Final builder is an outstanding build automation program, i want to use it, to automate moving the aspx, ascx, image files, css, dlls, etc... after the build of web deployment, this will ease so much the work for me instead of copying the file manually. better yet how can i create a shortcut in visual studio so when i cl...

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 front of the application to serve static files, at which nginx is more performant. If in...

Compile Time DEFINEs in an ASP.NET Web Deployment Project

My envirorment is Visual Studio 2005. My specifically problemis I want to define TRACE. I have a Web Site Project that send trace messages when run out of the ASP.NET Development Server thanks to defining it in the system.codedom element of the web.config. When I deploy to IIS, I do so via a web deployment project. So the site is prec...

ASP.NET corrupt assembly "Could not load file or assembly App_Web_jt8nxllz"

I've read through many of the other questions posted on the same issue, but I still do not understand the cause and how to prevent it from happening. In my case, this happens on the production server. I get the same error that has been described in other questions, and I resolve it by re-copying the assemblies into the bin directory. Th...

How to get Subversion to work with auto-generated files?

I'm using ASP.NET Web Deployment Projects with TortoiseSVN and VisualSVN, but this is a general question about generated files in Subversion. A Web Deployment Project automatically generates a parallel "deployment" version of your website with all code stripped out and compiled into a single assembly. My file structure is: Trunk Trunk...

<compilation debug="true"> in precompiled asp.net website - Does it matter ?

Hi, I'm deploying a precompiled and all-page-merged website using Web Deployment Projects on Visual Studio 2008. Note that all assemblies and projects have been compiled in Release mode. All my pages are pre-compiled in release mode. So they wont be recompiled, they'll just be loaded by runtime. In that case when the page compilation i...

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 environment. The files have been generated by the web application during dev/testing and are...

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 web deploy project under replacements, I have elmah/errorMail=errorMail.config. The error...

Web Deployment Projects - Remote IIS Server

Background In the spirit of continuous integration, I'm trying to automate our deployment process using a Web Deployment Project. Mostly, this has been painless. Most options were baked in and those that weren't were easy to add through the MSBuild XML interface. However, I cannot seem to find an option for deploying to a remote IIS ...

How do I exlcude a particular folder from the copying process in a Web Depolyment project?

I am suing VS 2005 and a Web Deployment project. The problem is that the build process takes a very long time because the deployment process copies my images folder to the deployment directory. The images folder is small in size but has thousands of files. I want to keep the images in my development folder so that I can see if the linkin...

Unable to load shared controls while building a Web Delpoyment project

I am using Web Deployment project to build and deploy my weblsite project. But when I build it, it come up with lots of errors regarding shared controls not found. But i checked all the controls are on the path. Any idea, why Using Web Deployment Projects with Visual Studio 2005 is not finding it. ...

web.config File Section Replacements

I have a web deployment project that does a web.config section replacement using an external file. (this is to change the connection strings section). The web.config section replacement works fine when built manually, but when built as part of a TFS build the section is not replaced. I cannot find any errors or warnings in the build log....

Activator.CreateInstance throws ArgumentNullException for parameter 'Type'

I recently encountered a problem with my Profile provider: it wouldn't retrieve profiles correctly (see error below). It worked locally, but when I put the code compiled by a Web Deployment project on a server it would crash. Value cannot be null. Parameter name: type Description: An unhandled exception occurred during th...

Having problems changing the <dataConfiguration> section of web.config in WDP

Hello, I have a web.config file that contains a section like this: <configuration> <configSections> <section name="dataConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings, Microsoft.Practices.EnterpriseLibrary.Data, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> ...

Build failing after publishing

I am using Web Application Deployment for publishing on IIS. At first I have converted my website to a web application. My application compiles and build fine on my VS2005. But when I try to run it via CC.net. It comes up with a 100's of errors. Following is the list of someof the errors that keep repating in the same file. errorBC3028...

Compiling/Embedding ASCX templated UserControls for reuse in multiple web applications

Hi, I'm onto a real head scratcher here ... and it appears to be one of the more frustrating topics of ASP.NET. I've got an assembly that implements a-lot of custom Linq stuff, which at it's core has zero web functionality. I have an additional assembly that extends this assembly with web specific behaviour. The web specific behaviou...

Master pages missing from Web Deployment Project output

We seem to be having an issue when running our deployment project in that, when it compiles, it seems to miss our master pages from the output. Is there any way to 'force' the project to include .master files, either through editing the .wdproj file, or via another method? Also, I've been reading up on the MSBuildTasks community projec...

Why does vs.net 2008 web deployment project create unwanted files

Does anyone know why when I compile my web deployment project it creates a vs.net project file and a bunch of other unwanted/unneed files in the release and debug folders. The debug files are also being included even though I have the "Generate debug information" option unchecked when in release mode. I'm also getting some obj folder th...