BTW: JP's article didn't stop at just Part1... I think there are 9 parts
with the last one being a video on using Nant, Subversion and CC.Net all
together.
If you are just using the CSC task then you have to do the config
copy/rename yourself.
Once again, if you are using CSC you have to include any references
yourself.
One idea to solve these problems is to use the solution task. However,
you will need the latest nightly builds. Also, I don't know if they
support 3.0 but I assume they would since the 3.0 references will be in
the solution.
Another option is to call MSBuild to do your compile. This is the same
way VS builds.
These solutions are a little different than the way JP's articles do
it... he seems to like to have more control over it. Also, he compiles
all of his stuff into a single DLL rather than by project. I'm not sure
if this is how he deploys his stuff too.
BOb
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Russell
Wilson
Sent: Thursday, July 05, 2007 12:38 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] First time user
Hi all,
Have been trying out NAnt the last couple of days to automate the build
and deployment of a website i work on. Found Jean-Paul Boodhoo's
article most informative
http://www.jpboodhoo.com/blog/AutomatingYourBuildsWithNAntPart1.aspx.
It took some playing around and learning how VS builds Web Apps but i
was able to set it up to build and deploy my VS2005 Web Application
Project. Two questions i have been unable to find help on:
1. When i compile a class library using the csc task is there a way of
getting the output to include the app.config file or do i have to copy
and rename it manually?
2. I use some WCF services in the web app which reference
system.servicemodel and system.runtime.serialization i had to include a
manual reference to these dll's using the full path name, is there a way
to set the current version of the framework to 3.0 or can i somehow
reference these assemblies using just the name?
All help is appreciated.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users