nant Questions
2
My NAnt build runs as a non-admin as part of CruiseControl. But we have an NCover task which needs to run as an Administrator. For this we are thinking about using RunAs with an admin account.
The...
Kamalakamaria asked 12/7, 2010 at 10:13
2
We have several hundred test classes, with a few dozen of them marked with the following attributes:
[TestFixture]
[Explicit]
[Category("IntegrationTests")]
so they will only be run in our over-...
Learnt asked 24/9, 2010 at 21:19
2
Is there a way to add an attribute to an xml node (which I have the xpath of) using nant?
Tried xmlpoke but it looks like it can only update existing attributes.
thanks.
1
Solved
I have custom NAnt task for test purposes and I would like to cancel NAnt build process if the task is failed.
I have created custom ErrorTask:
[NAnt.Core.Attributes.TaskName("errorTask")]
public ...
3
Solved
In my Nant script I would like to compare a property value to a known string. After reading the Nant Expressions documentation I believed I would be able to do a basic '==' comparison to evaluate a...
Aestivation asked 30/4, 2009 at 23:57
3
Solved
Suppose I were scripting a deployment using nant on a Windows server to a file share: \\server\share. I want a nant script to delete all files from the share then copy in new files.
I have this co...
Gunthar asked 22/9, 2010 at 14:33
1
Solved
I have created some ms build tasks for my VS project.
Rather than having to update the VS Project file with each of the tasks, is it possible to create an external file to hold the build tasks and...
Mccloud asked 19/8, 2010 at 17:38
4
Solved
I'm getting used to using nant for build releases. But I have started to use asp.net MVC, and i choice make the setup for installation with a .vdproj .
But, when I call the:
< exec program="${...
6
Solved
I have nant set up to build my ASP.NET MVC project and it works fine locally. I add nant to a tools folder and add it to version control. TeamCity picks up my changes and starts the build but it fa...
Hairsplitter asked 27/10, 2008 at 18:56
2
Yes I know that sounds a little bit crazy, but I've got .Net 3.5 deployed in the field and I'd like to use the new 4.0 compiler to target it.
There are several new syntactic sugar features in the ...
Amery asked 13/4, 2010 at 8:54
3
I've just started using CruiseControl.NET and I'm having trouble understanding why the merging of NAnt and NUnit outputs are not working. I've setup my ccnet.config with typical values as found on ...
Tenacious asked 6/1, 2010 at 9:33
3
Solved
From my perspective, we're constructing our own 'flavour' of NAnt/Ivy/CruiseControl.Net in-house and can't help but get the feeling that other dev shops are doing exactly the same work, but then ev...
Termless asked 29/3, 2010 at 19:19
2
Solved
I know NAnt sees frequent use (well, I always use it for my CI builds) but there has been no new official release since December 2007. Is the project receiving active development any more or is it ...
Cornwell asked 9/3, 2010 at 22:47
1
Solved
I am trying to use an xmlpoke task to update a VS Project File (which is XML). In the Project root, there are multiple PropertyGroup nodes, I am trying to select the first one. The XML looks like t...
4
Solved
Is there a way to prompt the user for input during a NAnt build? I want to execute a command that takes a password, but I don't want to put the password into the build script.
4
I'm about to set up an automatic build of a .net/C# project.
I've searched the net quite a bit, and there are a lot of references to this tool called 'NAnt'.
My questions are:
Is NAnt co...
Schroer asked 11/3, 2010 at 14:36
2
I have a generic common.xml file that holds a number of generic nant targets that are re-used among multiple builds. What I want to do is 'override' some of these nant targets and include additiona...
Bladdernose asked 21/7, 2009 at 12:26
2
Solved
I'm using SubSonic 3 (ActiveRecord mode) to generate the code for my DAL. It uses T4 templates (.tt) files that as soon as you save, generate the code for you.
I want to automate this as part of m...
Zoara asked 24/2, 2010 at 11:0
2
Solved
I have to write an Nant script that will accept 2 parameters on the command line. The first is just an option and has the following format: -myOption. The second one needs to be wrapped in quotes: ...
Gait asked 16/2, 2010 at 14:20
4
Solved
I'm compiling a NAnt project on linux with TeamCity Continuous Integration server. I have been able to generate a test report by running NAnt on mono thru a Command Line Runner but don't have the o...
3
Solved
I have a Nant build file which executes NUnit after compiling the dll's. I am executing the NAnt build file with a task in CruiseControl. So NAnt is running the tests not CruiseControl.
How do I c...
Gametangium asked 2/10, 2008 at 12:27
1
Solved
I'm just trying to get into NAnt for my build processes, and successfully have a script that sets up a build dir, and compiles a sln file into it. My question now is, on a day to day basis how woul...
Coenzyme asked 5/1, 2010 at 12:14
4
Solved
is it possible to change the connection string in my web.config automatically when build type is release using Nant? if so, how? thanks
1
Solved
Not sure if I'm just totally missing it but I couldn't not figure out how to create a new directory using Nant. Is there built in functionality to do this? Can I just use the command prompt? I trie...
Wellknown asked 10/12, 2009 at 2:34
7
Solved
I'm considering writing my own delivery code using PowerShell and/or C#, maybe shelling to NAnt or MSBuild.
Why should I not go this way? Is this such a really hard
endeavor compared to using NAn...
Haversine asked 14/11, 2009 at 10:19
© 2022 - 2024 — McMap. All rights reserved.