Hello William,

The good news is: you can.

If you are using VS.NET, the easiest way is to use the SlingshotTask.

Example:

        Convert the Solution MySolution.sln to the NAnt build file
MySolution.build.  
        Since the Solution contains one or more web projects, one or
more maps needs to be specified.

        <slingshot solution="MySolution.sln" format="nant"
output="MySolution.build">
                <parameters>
                        <option name="build.basedir" value="..\bin"/>
                </parameters> 
                <maps>
                        <option name="http://localhost";
value="C:\Inetpub\wwwroot"/>
                </maps>
        </slingshot>

        After generating the nested build file, one can call it using
the <nant /> task.

The task is available in NAntContrib, which can be downloaded at 
the bottom of http://nant.sourceforge.net/snapshot/.

Best regards,

Bernard



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] 
> Sent: Friday, November 29, 2002 12:11 PM
> To: [EMAIL PROTECTED]
> Subject: [Nant-users] NAnt and ASPX web project
> Importance: High
> 
> 
> Hi,
> I'm new to using NAnt.
> My question is : is it possible to use NAnt to compile an 
> ASPX web project written in C#  and how ?
> I've read informations on the web site but I haven't found 
> informations about that.
> Thanks for your answers.
> 
> 
> 
> ---------------------------------------------------
> William FERRERES
> Ingenieur consultant
> Reuters Financial Software
> Email :
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
> Tel : 01.47.62.59.07
> 
> 
> 
> 
> -------------------------------------------------------------- --
>         Visit our Internet site at http://www.reuters.com
> 
> Get closer to the financial markets with Reuters Messaging - for more
> information and to register, visit http://www.reuters.com/messaging
> 
> Any views expressed in this message are those of  the  individual
> sender,  except  where  the sender specifically states them to be
> the views of Reuters Ltd.
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Microsoft Visual Studio.NET 
> comprehensive development tool, built to increase your 
> productivity. Try a free online hosted session at:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
> _______________________________________________
> Nant-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/nant-users
> 


-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to