NAntContrib is an open source project that extends the NAnt build system by providing custom tasks.
Questions tagged [nantcontrib]
46 questions
2
votes
1 answer
Check files out of PVCS with nant & nantconrib
I'm taking my first steps with nant and nantcontrib so please bear with me!
The steps I would like to perform with nant are the following:
Get the latest files from PVCS
Check-out (i.e. for editing) the AssemblyInfo.cs so I can automatically take…

TK.
- 46,577
- 46
- 119
- 147
2
votes
1 answer
msbuild task in NAnt does not compile WiX project in Prebuild
This WiX Setup project compiles in Visual Studio without a problem.
However, running it in NAnt using the msbuild task shows the following error.
Heat Prebuild event:
"$(SolutionDir)\App_Tools\WiX Toolset v3.8\bin\heat.exe" dir…

Ranjith Venkatesh
- 1,322
- 3
- 20
- 57
2
votes
1 answer
Nant 0.92 Won't build 32 bit solution on 64 bit OS with vs 2012
Hello I am having trouble building a x86 solution on Server 2008 r2 x64 with vs 2012 installed. It always errors out with the below errors:
[msbuild] "C:\fake.sln" (Build target) (1) ->
[msbuild] "C:\fake.csproj.metaproj" (default target) (2)…

twreid
- 1,453
- 2
- 22
- 42
2
votes
1 answer
Can the msbuild nantcontrib task be used with mono's xbuild?
I'm curious if it's possible to use the nantcontrib task in combination with Mono's xbuild.exe instead of it's intended msbuild.exe.
My initial experiments aren't looking too promising; the task looks for msbuild.exe, so I symlink'd xbuild.exe to…

STW
- 44,917
- 17
- 105
- 161
1
vote
0 answers
Why can't i change IIS Directories with NAnt, when running on TeamCity?
I've got a problem with changing the physical path of virtual directories on an IIS, while running on a TeamCity-Agent.
I'm changing the Path by using the NAntContrib task. On the command prompt using nant it works just fine and changes…

Chris
- 21
- 3
1
vote
1 answer
How to detect whether fileset is defined?
My custom NAnt task relies on a certain fileset. It is considered to be defined by the time the task executes. I'd like to make sure fileset was defined before using it. I'm thinking of something similar to property::exists('property').
I failed to…

Yan Sklyarenko
- 31,557
- 24
- 104
- 139
1
vote
1 answer
What are prerequisites to automate building of C# and Powershell API based project developed using Visual studio
I am writing an SCVMM like VMM management agent to install it as a service on Windows server 2008 R2 only.
The agent is already been developed on Windows server 2008 R2 platform using .Net 4.0 framework, C#, VMM api, Visual studio. It just runs as…

Bala
- 105
- 1
- 10
1
vote
2 answers
Syncing a folder against a Subversion repo
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…

Tim Peel
- 2,274
- 5
- 27
- 43
1
vote
3 answers
msi creation using nant msi task
I am trying to create an msi for my application.
I pass the client and version parameter using the command:
C:\my client\nant -D:client=abc -D:version=1.0
I get the following error message:
**
[msi] Building Installer Database…

silverspoon
- 11
- 2
1
vote
1 answer
NAnt: task that returns/set a collection of objects?
I'd like to augment NAntContrib's set of Perforce tasks by adding the p4 labels task.
The p4labels task would have to return a collection of labels, or even ideally, a collection of label info: name, date/time, description.
Looking into…

joce
- 9,624
- 19
- 56
- 74
1
vote
1 answer
How do i get the list of replaced files using nantcontrib vssget task in cruise control . net
I am using NantContrib vssget task to retrieve the latest code from Source Safe in a build process. I would like to know what files have been updated /replaced, basically any changes that have occurred, and output it to screen/log file.
The only…

user543932
- 51
- 5
1
vote
1 answer
Replace default Nant task by different one
I want to redefine copy task from Nant without changing my .build configuration files. Is it possible in nant?
Msbuild has:
which can do that.
I wrote my copy task by don't know how…

Irek
- 83
- 1
- 5
1
vote
1 answer
How do I use internal commands (Command.com) from NAnt? ("type" etc)
On windows systems, certain dos commands don't have executables that can be explicitly called via NAnt's exec task. (I'm talking specifically about commands that are part of Command.com)
A complete list can be found here. While some of the more…

Peter Bernier
- 8,038
- 6
- 38
- 53
1
vote
1 answer
Unexpected attribute "BuildInParallel" on element
I am trying to use the BuildInParallel option on MsBuild.
I have an NAnt & NAntContrib script e.g.

Robs
- 8,219
- 6
- 41
- 57
1
vote
1 answer
nant nantcontrib configuration to use fxcop
I need to run FxCop attribute which I have implemented in NAnt build file.
I have NAnt and NAntContrib. I have copied the contents of nantcontrib\bin to nant\bin folder and have set environment variable to FxCopCmd.exe.
Then I'm getting the error…

BreakHead
- 10,480
- 36
- 112
- 165