nant

Sample Request: <msi> task of nant-contrib

Can anyone please provide me a sample build file demostrating the use of the task of nant-contrib for creating an installer of a web application project. ...

is it possible to make nant run a publish on web application project

is it possible to make nant run a publish on mvc project or a good old web application project and after the publish make nant FTP the files to the web server UPDATE: found the solution to the ftp problem Nant ftp task thanks Paco what i mean by publich is there a command line application or nant task that can public like visual studio...

NAnt task running "svn import" fails

I would like to import a build product to Subversion in a NAnt build task. But it fails for me. The following works fine for me from the command-line: svn.exe import -m 'Importing build 14' build/project.zip http://svn/builds/14/project.zip --username builder --password secret In NAnt I have the following task: <exec program="svn....

What are some good resources to learn to use NAnt?

I've never used an automated build system - to be honest, I've never had a use for it since I work as a solo developer (not by choice) and do development only on my workstation, so using the Build menu in Visual Studio has been good enough for me. I'm trying to learn more good software engineering practices, and continuous integration i...

NAnt and Vault Documentation

So I am looking for documentation on the tags available in NAnt for Vault. I saw some samples on SourceGear's site but I don't think they are the exhaustive list. Does anywhere know where I can find documentation on all the eligible tags? Thanks ...

Successful Implementations of NAnt bcp (SQL Server) Task?

I am looking for either a NAnt Task for SQL Server bcp, or the file format for bcp native output. I supposed I could build a NAntContrib Task for bcp but I don't have time at the moment (Do we ever?). Has anybody strolled this path before? Advice? Thanks - Jon ...

Continuous Integration Fix for NAnt 0.86 Beta 1 with .NET 3.5

Hi All, I have been trying to use the latest NAnt (0.86 Beta 1) for a few weeks now in several .NET 3.0/3.5 projects as using multiple .sln solution files to build the platform code on my build server but alws ran to error and having this problem : BUILD FAILED Solution format of file 'C:***\Platform.sln' is not supported. ...

How do I automate unit tests for a console application in TeamCity?

I've written a console application that has a number of unit tests and I'm wanting to include it in my nant build script so that it will be run on our TeamCity CIS. Unfortunately I'm not quite sure how to do that. The nant script has examples of current projects that have been added...they they all have to supply the assemblies that nee...

Any SQL Server 2008 Database Change Management (MIgrations) Tools Available?

We were running Tarantino (http://code.google.com/p/tarantino/wiki/DatabaseChangeManagement) in a Nant build script but we're getting some new hardware and using the opportunity to upgrade to SQL Server 2008. Unfortunately Tarantino won't work with SQL 2K8 so I'm looking for an alternative. Any ideas? ...

Nant or MSBuild, which one to choose and when?

I am aware there are other nant and msbuild related questions on stack overflow, but I could not find a direct comparison between the two and so here is the question. When should one choose Nant over MSBuild? Which one is better for what? Is Nant more suitable for home/open source projects and MSBuild for work projects? What is your exp...

How to minimize NAnt binaries

How do you set up NAnt with only the bare minimum binaries? I have started using a default setup for small projects, loosely based on Tree Surgeon from Thoughtworks, with NAnt, MBunit/NUnit, NCover, NCoverExplorer etc placed in a Tools folder and checked in with the project. The NAnt folder currently holds a complete installation of NA...

Nant build time set

Does anybody know how to set the build time on NANT project script? Actually I want NANT to run the project at some specific time like every night at 8pm(Nightly Build). How can I set this time? ...

how to modify source with NAnt?

Hi, I would like to modify the string in a .h file with NAnt before building the solution. There is a macro in .h file: #define SERVER_ADDRESS "www.customserver.net" and I would like to modify the string before deploying software so each build could be made for custom address by passing the address in command line. Does anyone know ho...

Nant Zip task zips 0 files when basedir is a variable?

I have the following Nant Script snippet. <zip zipfile="${devEnvironment}..\dev-${datetime::get-year(datetime::now())}${datetime::get-month(datetime::now())}${datetime::get-day(datetime::now())}.zip"> <fileset basedir="${devEnvironment}"> <include name="**/*"/> </fileset> </zip> The devEnvironment property is set to a ...

Suggestions on creating & deploying minimized JavaScript with NAnt?

Do you have any suggestions or examples on how to deploy minimized (min) versions of JavaScript files using NAnt? Are there any good command line applications, or scripts to assist with minimizing or packing JavaScript on Windows? ...

build failed executing nant

Hi all. I've got a nant build script (.86 beta) and it is telling me this: BUILD FAILED Failed to initialize the 'Microsoft .Net Framework 2.0' target framework. The process cannot access the file 'C:\Users\cconway\AppData\Local\Temp\tmp25E3.tmp' because it is being used by another process. This file does not e...

Nant <nant> task in quiet mode?

I want to use the <nant> task in my build script but I want the task to run in quiet mode. I want the main script to run in normal mode. Is this possible? ...

DELPHI and WANT or NANT

We use cruise control .net to do our Continuous Integration in our Delphi 2006 application. We use a setup similar to the one described here. QUESTION: 1) What is the best scripting tool/language to use implement the build script? 2) Are there any advantages of using WANT over using NANT? (NOTE: D2006 is not compatible with MSB...

How can I get output of NANT zip task to be unzipped on XP?

I wrote the following Nant script on my Vista dev machine and was pleased as punch with the output of the Nant zip task, as I can unzip it with any problems: <zip zipfile="${dir.build}CeoConfigUtilities.${build-version}.zip"> <fileset basedir="${dir.configutilities}" prefix="CeoConfigUtilities"> <include name="**" /> </files...

Cruisecontrol.net nant results different from non-cc.net

I've a nant script that builds a VS2008 solution. When I run it myself by typing 'nant' in the command line all the correct DLLs are copied to the respective bin directories. But when Cruisecontrol performs the CI build no DLLs are copied to the bin directories. Any ideas what's causing this? ...