Questions tagged [nantcontrib]

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

46 questions
1
vote
1 answer

How to catch errors while executing VB Project using NANT?

We are executing all the VB projects using below NANT script:Just example
1
vote
1 answer

Passing a parameter to NAnt build script

This is my scenario: I have a build.bat that holds: call tools\nant-0.92\bin\nant.exe -buildfile:deploy.build %* -logfile:deploy_NAnt.log Part of deploy.build holds:
no9
  • 6,424
  • 25
  • 76
  • 115
1
vote
0 answers

Promoting and labeling files with pvcs and nantcontrib

We are facing a problem with nant 0.92 and pvcs 8.4. Our daily build process include 1. gather files from a promotion group "X" 2.do a build with the files gathered. 3.Promote the files in the promotion group "X" to "Y" 4.Label these files with a…
Satish
  • 445
  • 2
  • 4
  • 15
0
votes
2 answers

Running builds using .net 3.5 MSBuild and NantContrib

I noticed that projects that were originally created in VS 2008 do not compile using the nantcontrib msbuild task. There is a solution that I've seen here but it seems like a bit of a hack, considering 'MSBuildBinPath' has been depricated, and I…
JB
0
votes
2 answers

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…
Mr. Flibble
  • 341
  • 2
  • 9
  • 21
0
votes
2 answers

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? …
jdharley
  • 149
  • 2
  • 11
0
votes
2 answers

How to create a Visual Source Safe branch using NAnt

Summary I currently have a NAnt build script that performs a vssget on either the latest source code, or a specific branch (using a ${branch} parameter). Whenever we do a production build/deployment the code-tree that was built has a branch created,…
funkymushroom
  • 2,079
  • 2
  • 26
  • 39
0
votes
1 answer

How to call a target when another target fails in NAnt?

I have two different tasks say A and B. If A fails I need to call B. How is it possible with NAnt.
Nilay Vishwakarma
  • 3,105
  • 1
  • 27
  • 48
0
votes
1 answer

NAnt fails with "Invalid element . Unknown task or datatype"

I had to move from nant-0.86 to nant-0.92 This part of the code now fails with: Invalid element . Unknown task or datatype.
no9
  • 6,424
  • 25
  • 76
  • 115
0
votes
1 answer

How to specify vb6.exe location for nant

I'm trying to migrate us from an old CruiseControl based build server to a new TeamCity one and having trouble with the old VB6 based components we still have. We are using Nant scripts which is making the task easier but I've hit a roadblock with…
Mike
  • 2,120
  • 1
  • 23
  • 40
0
votes
2 answers

Nantcontrib task

I am trying to attach a log file to email. My code is: **
Rizwana Khan
  • 101
  • 1
  • 1
  • 9
0
votes
1 answer

Logging Nant Output

I am currently using a tag to log Nant output to a log file OUTPUT.log. I want to save the Nant output to a different file, depending on part of the target. I currently am using:
0
votes
1 answer

Include AWSSDK refrence to the nant build file

I'm making a build file to build a website written in C#.net using NANT, but i'm Unable to include the AWSSDK assembly to the file. it give me error error CS0234: The type or namespace name 'S3' does not exist in the namespace 'Amazon' the AWSSDK…
Dinkar Thakur
  • 3,025
  • 5
  • 23
  • 35
0
votes
2 answers

How do I specify where MSBUILD publishes a web service too?

I've seen lots of info on the web about this, but nothing clear & specific which seems to address the problem of simply publishing a web service or web site to a specific folder that I specify at build time. I'm using Nant and Nant Contrib:
jaffa
  • 26,770
  • 50
  • 178
  • 289
0
votes
1 answer

iisdirinfo failing on iis7?

When running iisdirinfo on iis7 I'm seeing an error .dll,1,GET,HEAD,POST,DEBUG BUILD FAILED C:\iisinfo.build(9,2): Error retrieving info for virtual directory 'WebServices' on 'localhost:80' (wesite: Webservice). Object reference…
PatrickWalker
  • 550
  • 5
  • 19