nant Questions

2

Solved

I need to convert the function "path::combine(path1, path2)". Please help me if you have some idea. Thank you!
Cornall asked 24/3, 2010 at 11:31

2

Solved

My aim is to fill property with output of command "git describe". I have a property: <property name="build.version" value = ""/> And I want to fill it with output of the following command...
Jenks asked 18/1, 2013 at 13:28

4

Solved

I am trying to use the Cruise Control preprocessor functionality to break my configuration into smaller reusable sections. I can use the include feature great from within the root cruisecontrol nod...
Mittel asked 14/7, 2011 at 19:6

5

Solved

I have some documentation written in OpenOffice, and I would like to include some of it as PDF files in the final build deliveries. I would like to do this with the automated build script. Is ther...

3

Solved

After installing .Net 4.5 Beta, the output of my Nant build fails with: "could not load type 'System.Runtime.CompilerServices.ExtensionAttribute' from assembly 'mscorlib, Version=4.0.0.0, Culture...
Flannelette asked 16/8, 2012 at 16:12

3

Solved

<if test="${deployErrors} > 0"> <fail message="MSDeploy failed" /> </if> ${deployErrors} is populated from a regex capture group and either has a numeric value or empty ...
Templetempler asked 5/5, 2011 at 9:3

3

Solved

I need to read some values from cookie or session when I am executing my php script using command prompt. How can I do that? How to access cookie or session value from Windows command prompt?
Typography asked 28/9, 2011 at 5:9

7

I am trying to replace the occurance of a string in a wxs file using Nant. I have only found the following example, which uses <replaceString>, but it seems like it can only be used within t...
Chaconne asked 19/12, 2011 at 15:17

1

I have successfully built the project with NAnt. Now if I compile the project with following command: nant -D:build.defines=FAKE_AD_AUTH build I want to run application and in that I come to k...
Wildee asked 6/1, 2014 at 5:13

4

Solved

Is there a NAnt task that will echo out all property names and values that are currently set during a build? Something equivalent to the Ant echoproperties task maybe?
Aeroballistics asked 26/9, 2008 at 16:43

3

Solved

I need to use NAnt to update one specific line in a .js file. The line will be something like: global.ServerPath = 'http://server-path/'; I need a way to update the "server-path" part of that li...
Cannon asked 26/7, 2011 at 11:37

4

Solved

I have to admit that I always forgot the syntactical intracacies of the naming patterns for Nant (eg. those used in filesets). The double asterisk/single asterisk stuff seems to be very forgettable...
Laurinelaurita asked 16/9, 2008 at 6:35

3

Solved

We were using a build script to automate our publishing process and it was working with SVN but now we are using Git and need to do some command line operations to pull from our remote repository. ...
Thinking asked 22/3, 2012 at 20:49

5

Solved

The Sitecore package wizard can be used to build a package containing data and files for the local Sitecore instance. Is it possible to build a Sitecore package (items only, files are not required...
Teenateenage asked 7/12, 2011 at 11:20

6

I have an NAnt script that I use to build my .NET project, and I'm looking to see if there is a way to upload the resulted assemblies to some remote folder using an FTP task. I couldn't find any g...
Leigha asked 7/5, 2010 at 20:52

9

Solved

I have been upgrading several different VS2008 projects into VS2010 and have found a problem with VB.Net projects when they are converted. Once converted, the .vbproj files have changed from this ...
Dreadfully asked 10/5, 2010 at 15:0

2

Solved

I've got an NAnt <exec> task. I want one argument presence to be conditional to some property being true. For example, I want the -c command line argument of psExec to be conditional. It sho...
Oto asked 1/3, 2013 at 22:4

1

Solved

I have the following project structure: SLN libA libB (references libA) exeWPF (references libA and libB) I use NAnt to compile libA and libB, with csc, but I cannot use csc with the WPF proj...
Pelisse asked 12/2, 2013 at 10:39

2

Solved

Problem: I want to elegantly publish an MVC website with NAnt. Simple no? Wrong... Here are some of the stackoverflow resources I've looked at. Each one of them has an issue... Stackoverflow 1: P...
Scholastic asked 22/4, 2011 at 0:17

1

Solved

I want to exclude /Properties/AssemblyInfo.cs from stylecop checking. Can we do that? the problem is that i have integrated stylecop with nant. In nant i am stamping product version so the informat...
Uninstructed asked 8/11, 2012 at 8:54

4

Solved

I have an ASP.NET application. Basically the delivery process is this one : Nant builds the application and creates a zip file on the developer's computer with the application files without SVN f...
Arteriovenous asked 24/10, 2008 at 12:19

1

Solved

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 (<ifthenelse/>), but is e...
Kassia asked 21/10, 2012 at 19:0

3

Solved

I'd like to call a certain EXE from my NAnt script, and pass a property as an argument in case the property exists, or don't pass anything otherwise. The below code seems to fit just for this cas...
Recover asked 20/9, 2012 at 15:19

2

Solved

I'm curious if it's possible to use Nant to target the .NET 4.5 using the C# 5.0 compiler. As of right now, the latest version only states support for .NET 4.0. I tried downloading the source and ...
Rules asked 7/8, 2012 at 0:33

3

I was wondering if anyone has successfully ran Nant on Windows Vista 64 bit version. It keeps failing with set-props: [sysinfo] Setting system information properties under sys.* BUILD FAILED P...
Sachikosachs asked 20/12, 2008 at 19:48

© 2022 - 2024 — McMap. All rights reserved.