background preloader

MSBuild

Facebook Twitter

.net - How can I auto increment the C# assembly version via our CI platform (Hudson) Version control - Incrementing build number with Hudson build. Using Jenkins Version Environment Variable in the MSBuild step. Easy Configuration Deployment with MSBuild and the XmlMassUpdate Task - Doron's .NET Space. I’ve been looking for the easiest possible way to deploy a web.config file to several different environments.

Easy Configuration Deployment with MSBuild and the XmlMassUpdate Task - Doron's .NET Space

My web.config looks something like this in development: I need the ability to change specific values in the test and production (release) environments. For instance, the connection string is obviously different, and I would also like to turn off logging and debugging in production. How to publish a web site with MSBuild - Coding Cockerel. In part two of my MSBuild tutorial I needed to find a way to call Visual Studio’s Publish Web Site feature from MSBuild.

How to publish a web site with MSBuild - Coding Cockerel

Much trawling of the interweb failed to find anything of use, so in the end I had to produce my own target which copied the relevant files into the output folder. The problem with this approach is that it only works for files of type dll, aspx or config. It is a simple task to add an extension, for example png, however on larger projects this becomes impractical. .NET Questions (CLOSED) - Publish from MSBUILD.EXE. Scripting - Copy all files and folders using msbuild.