My team and I were in a similar boat with nAnt and VS.NET, however
having struggle so much with VS.NET and how it handles solutions and
projects, we choose to maintain nAnt build scripts to do our build and
deploys to our three different server environments.

Developers still use VS.NET to build and debug the code they are working
on, but when the are ready to integrate, they must update the build
scripts.

We have found that we end up only adding/removing references once or
twice over a three week iteration.  We find this amount of maintenance
acceptable to the HUGE benefit we get by build our web application with
nAnt.  Your project might be different in that it requires a lot of
reference changes.

I hope this helps.

Jason

-----Original Message-----
From: Nau, Michael [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 24, 2003 12:07 PM
To: [EMAIL PROTECTED]
Subject: [Nant-users] General Usage Strategies


Hello,

Can anyone provide some insight as to the best way to support both a
VS.NET IDE and an nAnt build environment? 

Our developers need to use VS.NET to develop and test their components
and I need some way to build and test the components in an automated
environment. When setting up the nAnt build file, you need to know all
component references. So you end up having to maintain both the VS.NET
projects as well as the nAnt build files. When one changes, you have to
make an identical change in the other. 

I'm concerned about the 2 getting out of synch over time. With java, the
major IDE's integrated with ant. So you could use the IDE to develop,
but you always build with ant. This way you only had to maintain one
definition of the build environment. 

I've seen a couple attempts to parse the VS.NET solution and project
files to extract the reference info. I've haven't had any success using
these. I'm concerned these techniques are based on how the VS.NET
solution and project files are structured - but there's no guarantee the
structure of these files won't change over time, rendering older build
incompatible.

Thoughts?

Mike.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf _______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nant-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to