nant

.NET referenced assemblies - version numbers

I've recently taken over a project, and the original developer has gone. I'm now trying to install the app on a new server, and I've got a problem with dependent assembly versions. The project is a reporting tool, with (unfortunately) a reference to Crystal. On my machine I have version 11.5.9500.313 of CrystalDecisions.CrystalReports.E...

Best way to configure build directory structure for a windows application.

I am writing a small application at the moment and am trying to organise my build output to be a little closer to the finished product. The application is made up of a number of different projects. There is a core library that contains most of the functionality, a GUI app and a command line app that both reference the Core Dll, and a num...

How do I Detect an existing SVN directory in Nant?

I am building a target in nant that branches our project. It creates a branch in SVN, checks out that branch, updates various files within that branch with the new provided version number, checks it all in. The SVN branch works fine the first time (using the copy command URL->URL) , but if it is run a 2nd time, it copies the trunk to t...

Does the free Team Explorer client work without Visual Studio

We are about to setup a cruise control.net with and NAnt and TFS, do I need visual studio 2005/2008 with team explorer installed or can I make this work with just the free Team explorer client ...

source control building a branch

I am currently evaluating different source control solutions for work, and have a few questions about branching. I have the basic understanding of how to branch, but i am unsure of how our build machine (CruiseControl.net) can get a branch to build it. We have many projects, which are all relied appon by other projects (there are othe...

Setting debug=false in web.config as part of build

Is it possible to instruct the aspnet_compiler to set debug=false in the web.config? My intention is to automate this as part of the nant build process. I am open to suggestions other than xml parsing ...

Hidden Features of Nant

Continuing the Hidden Features series for Nant. One of the things I learned recently was <xmlpoke> Allows you to replace text in an xml file. e.g. http://stackoverflow.com/questions/678096/setting-debugfalse-in-web-config-as-part-of-build/678137#678137 Question will be updated to show the top voted answers ...

Build VS2008 projects with .Net 2.0/.Net 3.5 using NAnt

I'm trying to write a build file to build a simple C# solution but it is failing with the error: Unknown task or datatype. My solution is written in VS2008 but targeted at .Net 2.0 (I'm using Vista if that helps). I've already seen the other question running-builds-using-net-3-5-msbuild-and-nantcontrib and have tried the suggested solu...

Generating HTML documentation from WSDL

What are your approaches to generating some sort of human-readable documentation from WSDLs? In the past I've used WSDL viewer (by Tomi Vanek) (see my blog post about integrating it into NAnt) and I'm happy with the results, but I'm interested in any possible alternatives. I've also heard of x3sp, but I haven't tried it. ...

Why would I want to continue to use Nant when MSBuild is available?

I have seen the prior questions and answers. In that one question, the original poster asked a followup question: what are the compelling reasons to use msbuild? are there cons? I didn't see the answer to that. I'd like to know the converse, too. What are the compelling features of Nant? I think, for nant, cross-platform is b...

Syncing a folder against a Subversion repo

Hi, Is there a quick way, command line tool or whatever, that will look at a folder and work out the SVN operations required to add new files, delete old ones, update existing and then commit everything? I'm hooking this up via nant and don't want to have to mess around doing it myself. thanks ...

Publish WebApplication using NAnt

Is it possible to accomplish publish (as in Visual Studio publish on Web Application project) on solution using NAnt? I just can't find the solution. ...

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? ...

Nant for Silverlight , WCF Project

hi am in the process of creating CI Server for my project. Can any one let meknow sample NAnt build files for Silverlight +_wcf services project ? Thanks Senthil http://dotnetcrunch.blogspot.com/ ...

Why does Nant driven MsBuild compile to different directory on different machines?

I wrote a Nant script that executes MSBUILD.exe to compile a project on my dev machine. On my dev machine, the projects builds its output to bin\x86\Release and my Nant script zips up the contents of that directory. I then commit everything to SVN and let TeamCity run the Nant script that executes MSBUILD.exe to compile the project and z...

Nant and ASP/.NET 1.1: do they get along?

I'm working on a mixed application (ASP, ASP.NET) and I brought up using Nant for deployments. The person I was talking to said that he'd heard that Nant wouldn't work for us because we have such a mixed bag (.NET 1.1 and .NET 2.0 apps, ASP, ASP.NET). I can't imagine that's the case, just seems really unlikely. Your opinion? Have you bu...

How to Set the Working Directory in NAnt?

I am just getting started using NAnt. I was working from a tutorial, and just trying to set a target to clean my solution on build. My Visual Studio Solution structure is as follows: Solution Folder Project Folder Project Folder Tools Folder NAnt Folder The NAnt .exe file resides in the Tools/NAnt folder. My .build file is also i...

How to get nant <exec> not to echo to stdout?

I'm using NAnt to combine a bunch of tools; I'm using the output attribute to send the output to temporary files, which I then process. I don't want NAnt to echo the output. How can I do this? ...

NAnt vs MSBuild, which one should i choose

I have a project that i need to build the C# file and i hesitating to use between NAnt and MSBuild which one should i use? which one support more funtionality, including the svn function? Thanks ...

Nant build MSI file

how do i use NAnt to build the msi file thanks ...