Questions tagged [nant-task]
14 questions
                    
                    18
                    
            votes
                
                3 answers
            
        MSBuild 2010 - how to publish web app to a specific location (nant)?
I'm trying to get MSBuild 2010 to publish a web app to a specific location.
I can get it to publish the deployment package to a particular path, but the deployment package then adds its own path that changes. 
For example: if I tell it to publish to…
        
        Mr. Flibble
        
- 26,564
 - 23
 - 69
 - 100
 
                    8
                    
            votes
                
                2 answers
            
        is it possible to make nant run a publish on web application project
is it possible to make nant run a publish on mvc project or a good old web application project
and after the publish make nant FTP the files to the web server
UPDATE: found the solution to the ftp problem
Nant ftp task thanks Paco
what i mean by…
        
        Nesizer
        
- 3,074
 - 6
 - 22
 - 25
 
                    7
                    
            votes
                
                2 answers
            
        When running NUnit and specifying a category, can all uncategorized tests be included too?
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-night automated build.  The remaining…
        
        MTS
        
- 131
 - 2
 - 5
 
                    6
                    
            votes
                
                1 answer
            
        FailOnError does not work in custom NAnt task
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 class ErrorTask : NAnt.Core.Task
{
    public…
        
        Antipod
        
- 1,593
 - 3
 - 23
 - 43
 
                    4
                    
            votes
                
                1 answer
            
        How to execute nant build file from another build file?
I have a big project here where I created some build files which I use in different scenarios including ccnet. So, I have BF1.build and BF2.build
I just want somewhere in BF1 to call/execute the script from BF2.build
        
        mynkow
        
- 4,408
 - 4
 - 38
 - 65
 
                    3
                    
            votes
                
                2 answers
            
        Nant Script using .Net 2? Why?
I have a very simple setup, a whole solution that builds using .NET 3.5. Runs fine on my machine, and the build server. I have since added a script to my build file, which will create an XML file, listing all the updates for our patcher. This runs…
        
        Dean Thomas
        
- 1,096
 - 1
 - 10
 - 25
 
                    3
                    
            votes
                
                0 answers
            
        Security issue using Nant
I need to store authentication information and I rather not have the password in plain text:
   
 
Has anyone figured out a way to encrypt property values in…
        
        Diego C.
        
- 2,271
 - 2
 - 20
 - 21
 
                    3
                    
            votes
                
                2 answers
            
        How to make NAnt send an email using a real account
First of all, I have already seen this post: nant mail issues but the only answer is not satisfactory (i.e.: doesn't work for me).  
I am using NAnt to get latest version of source, upgrade version of the libraries and application, build the…
        
        M.Turrini
        
- 738
 - 1
 - 4
 - 19
 
                    2
                    
            votes
                
                4 answers
            
        Microsoft Ajax Minifier and NAnt
Could someone explain to me how to use the Microsoft Ajax Minifier from a nant-script as a nant-task. I've seen examples of how to use it in Visual Studio but I would like the minification to be done on our CI-server.
        
        Vinblad
        
- 676
 - 1
 - 7
 - 18
 
                    2
                    
            votes
                
                0 answers
            
        No public execute() in class mydomain error
I want to use Hibernate Tools for reverse engineering.
My database is PostgreSQL. Problem is about hbm.xml file. Reverse engineering tool creating wrong hbm.xml files. So, I want to use custom reverse engineering strategy. I am using…
        
        user
        
- 45
 - 1
 - 6
 
                    1
                    
            vote
                
                2 answers
            
        MSBuild's XmlMassUpdate task in NAnt?
I have created an MSBuild tasks for building my projects, but for various reasons I wan't to switch to NAnt.
Is there some task that would be equivalent to MSBuild's XmlMassUpdate in NAnt? If possible I would like to use the same xml replacement…
        
        veljkoz
        
- 8,384
 - 8
 - 55
 - 91
 
                    1
                    
            vote
                
                1 answer
            
        How to update assmebly version info with new build and revision during build?
I have to update the build number in assembly version of assemblyinfo.cs file.
I have written a custom tasks which updates all the assmeblyinfo.cs under a solution before starting build. But when i change this file and try to build then some of my…
        hrushikesh
                    0
                    
            votes
                
                1 answer
            
        How do I unzip a .zip file in a remote directory using NAnt ftp task?
I have a zip file in my ftp server. Is there any way to unzip it using NAnt?
Here is a sample code of what I would like to do:
   
 
Suppose that the…
        
        new coder
        
- 313
 - 2
 - 24
 
                    0
                    
            votes
                
                2 answers
            
        SVN revert from within a NAnt script?
I thought this would be a simple task, but I'm currently unable to get it to work. There are built in functions such as  etc. But not for revert it seems?
I have tried using the following but get an error that I have no supplied enough… 
        
        Adam Cobb
        
- 894
 - 4
 - 14
 - 33