Questions tagged [nantcontrib]

NAntContrib is an open source project that extends the NAnt build system by providing custom tasks.

46 questions
18
votes
2 answers

The 'SQLNCLI' provider is not registered on the local machine

I have a NAnt-based script which that I run on my local PC that connects to SQL Server 2008 Express also running on my local PC to drop and recreate databases using .sql files - this works fine, no problem here. The problem comes when I have…
Brett Rigby
  • 6,101
  • 10
  • 46
  • 76
16
votes
2 answers

task or msbuild.exe with NAnt?

It looks like there are (at least) two options for getting nant to use csproj files: using the task of NAntContrib or using msbuild.exe directly (e.g., codecampserver). Am I reading this right, and if so, what is the advantage of using msbuild.exe…
keithm
  • 2,813
  • 3
  • 31
  • 38
6
votes
2 answers

How to check in NAnt script whether property is set or not?

Hi I am create a release script using NAnt. How can I check a variable value is getting or not. Now I call my script like this nant -buildfile:CreateNew.build -D:name="Test.V.1.0" -D:bIDs="2" -D:uIDs="'3'" Some times I will not pass…
learner
  • 2,609
  • 4
  • 22
  • 23
5
votes
1 answer

Does NAnt have an if/then/else task?

Other build systems, e.g. Ant, have an if/then/else construct that allows for simplifying the script logic in many cases. The CIFactory NAnt variant has this as well (), but is extremely outdated and does not support .NET 4.0 -…
skolima
  • 31,963
  • 27
  • 115
  • 151
4
votes
3 answers

is there a deploy tool (or set of tools) that supports rollback of a deployment?

I'm learning FluentMigrator. The thing that I like about FM is that it supports the idea of Forward and Back for migrations (aka Up/Down). I'm finding that it's not ideal about this; there are some holes. Still, it's good. This leads me to wonder…
jcollum
  • 43,623
  • 55
  • 191
  • 321
4
votes
3 answers

IIS site and nant/nantcontrib?

is it possible to manage IIS web applications with NAnt? For example stop or start it?
Andrey Selitsky
  • 2,584
  • 3
  • 28
  • 42
3
votes
3 answers

In NAnt, can I create a fileset of the files listed in a VS project?

I'm rewriting our NAnt build scripts to make them cleaner and simpler, as well as more general purpose. One of the steps in our build process is to package certain files into a zip file. Before we had created a fileset with lots of included file…
bdukes
  • 152,002
  • 23
  • 148
  • 175
3
votes
2 answers

Nant Script using .Net 2? Why?

I have a very simple setup, a whole solution that builds using .NET 3.5. Runs fine on my machine, and the build server. I have since added a script to my build file, which will create an XML file, listing all the updates for our patcher. This runs…
Dean Thomas
  • 1,096
  • 1
  • 10
  • 25
3
votes
0 answers

Security issue using Nant

I need to store authentication information and I rather not have the password in plain text: Has anyone figured out a way to encrypt property values in…
Diego C.
  • 2,271
  • 2
  • 20
  • 21
2
votes
1 answer

How to get the size of a file in NAnt

Does NAnt or NAntContrib have a way to get the size of a file? I have searched the docs for both, but don't see one. Or is the best way to either shell out to a command line or write an inline C# script? See this question for getting the size of a…
slolife
  • 19,520
  • 20
  • 78
  • 121
2
votes
2 answers

xml nant and ó character

I trying to use nant to build a solution via msbuild. The problem is the solution´s directory is: C:\Repositorio\Proyectos Casino\SPPM\Codificación\PokerManager as yo can see it got an specia character ó this is my build file
Müsli
  • 1,744
  • 7
  • 27
  • 50
2
votes
3 answers

Sample Request: 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.
renegadeMind
  • 4,073
  • 5
  • 29
  • 37
2
votes
2 answers

How to get a recursive svn blame report in a single xml file for all non-binary files in a branch?

How can I get a fully recursive svn blame report for all non-binary files in a branch, where the output is in a single file in xml format and includes revision, date, author, filename & path, and the text of the line of the file itself? The entire…
Josh Buedel
  • 1,853
  • 16
  • 41
2
votes
1 answer

NAnt/NAntContrib 'VB6' failed to start on remote build

Background I'm putting together a Continuous Integration system at work on two VMs running on my local desktop. VM #1 (Toolbox) is running CruiseControl.Net, Subversion, BugTracker.Net and SQL Server Express. VM #2 (BuildMaster) is running NAnt with…
CrazyOnYou
  • 41
  • 2
  • 6
2
votes
1 answer

Cruise Control .Net not showing Nant build errors

We are running Cruise Control 1.5.7256.1 and using it to do builds using Nant and Nantcontrib. The builds are failing and succeeding correctly, but when they fail the related error messages are being shown on the CCNet Build Report page. See image…
Robin Weston
  • 873
  • 2
  • 10
  • 24
1
2 3 4