Questions tagged [nant]

NAnt is a build tool for .Net, aiming to support all the various versions of the .Net framework, including all versions of Microsoft .NET, Compact Framework and Silverlight, Mono and Moonlight. Additionally, there is a contribution project called NAntContrib, adding support for additional .Net tools (FxCop, NGen, GacUtil, Wsdl, XSD, MSBuild) and systems like PVCS, StarTeam, Visual SourceSafe, Surround SCM and Microsoft BizTalk.

NAnt is a build tool for .NET (GitHub), aiming to support all the various versions of the .NET framework, including all versions of Microsoft .NET, Compact Framework and Silverlight, Mono and Moonlight.

Additionally, there is a contribution project called NAntContrib, adding support for additional .NET tools (FxCop, NGen, GacUtil, WSDL, XSD, MSBuild) and systems like PVCS, StarTeam, Visual SourceSafe, Surround SCM and Microsoft BizTalk.

1044 questions
0
votes
1 answer

Unable to invoke putty.exe from Teamcity using Nant

I am trying to build a database release script functionality in the build process through Teamcity. The release scripts are already in a ksh file (they deploy scripts on Sybase IQ server) and hence, i don't want to re-write it. As such Teamcity is…
Meghna
  • 21
  • 2
0
votes
1 answer

Using Nant build project and run the NUnit

I want to use Nant build a project and import the dll file to execute NUnit. But I don't konw how to write the xml code to build a csproj file. here is my xml :
Edison
  • 79
  • 1
  • 13
0
votes
3 answers

How to set nant target for CCnet nightly build?

I have a default nant build that runs on every checkin in CC.net. What I would like to do is on a nightly schedule run a different nant task under the same build that would do a clean checkout of the codebase for the next day. Is this possible with…
Sean Chambers
  • 8,572
  • 7
  • 41
  • 55
0
votes
1 answer

CCNet triggers build, but succeeds even if I check in bad code to svn

I have set up CruiseControl for .NET with SVN as my source control and using NAnt build script. When I manually build the visual studio solution I get errors, which is correct because I have some bad code. After I checked in the code to svn, CCNet…
Kiran
0
votes
2 answers

Ignore NAnt warning

I'm setting up a build server using NAnt (and CruiseControl.NET) and I'm currently writing the build file for all the assemblies (both in VB.NET/C#) in the application. Unfortunately whem compiles most of the projects, NAnt signals several warnings…
M.Turrini
  • 738
  • 1
  • 4
  • 19
0
votes
1 answer

NAnt resource linking / building

I have almost cracked this NAnt thing, and all I can say is Visual Studio has certainly "hidden" a lot of things behind the covers when it comes to compiling. I have my VB.NET app compiling successfully now via NAnt, however it does not run, it…
Dominik
  • 1,366
  • 2
  • 18
  • 37
0
votes
1 answer

NAnt vbc build error loading custom DLL reference

I am having trouble trying to get NAnt to compile my project, which consists of a windows forms application, a utilities library (DLL) and a data classes library (DLL). The problem is that I can't get the main WinEXE application to reference the…
Dominik
  • 1,366
  • 2
  • 18
  • 37
-1
votes
1 answer

How to read project file .csproj to compile only those .cs which includes in project

How to read project file .csproj to compile only those class files (.cs) which includes in project. And ignore file which excluded from project.
Dipti
  • 21
  • 4
-1
votes
1 answer

what the type mean in the ant build system

There is type definition like Path. Is this a special property in ANT?
user496949
  • 83,087
  • 147
  • 309
  • 426
-1
votes
1 answer

Nant build script automagical redirects folders

I have inherited a nant script from a previous colleague. It is used for among others building the application and distributing it to the sites in question (beta, live) called stage. The property in question:
DoStuffZ
  • 785
  • 15
  • 37
-1
votes
1 answer

How to Backup IIS website folder physical Path before deploying using using Nant or PowerShell in Teamcity

I am in the process of building Automated process using TeamCity.My plan is before deploying to prod Server creating a backup folder: Stop IIS and copy or Backup IIS website physical path folder VersionNo as X (using Nant or Powershell) Rename …
Jim Lobo
  • 471
  • 1
  • 7
  • 22
-1
votes
1 answer

NDepend Task for Nant

I am in process of creating a Nant BuildFile which will use MSBuild, Nunit, Ncover and Ndepend for compilation, unit test, code coverage and Code quality check. I am not able to find any task for Ndepend in Nant. It would be helpful if someone can…
anuj0901
  • 573
  • 6
  • 8
-1
votes
2 answers

using of nant in c#.net

i have a following xml file which said to be as and placed in the project file then i set the environment variable for nant-0.92-bin path in system…
GowthamanSS
  • 1,434
  • 4
  • 33
  • 58
-1
votes
1 answer

using nant to run a bat file in c#.net

I have created a batch file for ex(ex.bat) Is it possible to run batch file through nant c#.net code Problem 1: i need to create pass the arguments to that xml file generated through ant problem 2: i need to access through c# .net code Waiting for…
GowthamanSS
  • 1,434
  • 4
  • 33
  • 58
-1
votes
1 answer

Nant