I need to modify my nant scripts to publish or output web application to a
directory. So, currently we have following in the nant scrpit:
msbuild project=${Solution.Filename}
property name=Configuration value=${Solution.BuildConfiguration} /
property name=Platform value=Any CPU /
/msbuild
I think the easiest way to do this is to set up a build configuration in
your solution that specifies where you want the output to go to.
Other than that you can just use the copy task after the msbuild task to
move your files.
You may also want to look at creating a web deployment
ok. So, by default Output path is set to bin\ folder and the solution is
doing the build on say Release configuration. By setting output path to
some folder other then say bin\, will it copy all .aspx etc.. for web
application.
Basically I am looking for what publishing a site does from MSBUILD.
Have you created a Web Deployment Project for your web site? The most
effective method for deploying web site project via Nant is to first
create a web deployment project, set the output path in that project
file. Then after you have built your project, you can use all the other
Nant tasks to
See answers inline below.
From: spatemp spatemp [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 04, 2008 3:07 PM
To: Bob Archer
Cc: nant-users@lists.sourceforge.net
Subject: Re: [NAnt-users] how to publish or output to a directory with
msbuildtask
ok.
Does anyone know if there is a directory differencing task available for
Nant? I have tried several external directory difference tools, but so
far, none have the level of control that a typical Nant command has such
as file and directory exclusions/inclusions.
I need such a tool to compute