Hi Michael,
Thank you for your quick reply.
After written my last post, I've done some more research on this.
While directly executing Devenv.exe is simplest, it does have two
drawbacks:
1) The overhead cost of running Visual Studio 2005 is quite large;
2) Not all machines that need to build the project will have Visual Studio
2005 installed.
If this concerns you, I recommend you to use NAnt, it has a task named
<solutionwhich can process a given solution file and compile the projects
contained within. It recognizes inter-project dependencies and compiles
them in the correct order. And it does not invoke devenv.exe, but rather
parses the solution file and invokes the command-line compiler. You can
find more information here:
#Managing .NET Development with NAnt
http://www.theserverside.net/tt/arti...le.tss?id=NAnt
#NAnt task: <solution>
http://nant.sourceforge.net/release/.../solution.html
Since you've already written your ANT build file, you can only create a
simple NAnt build file for your Visual Studio 2005 project and call NAnt
from ANT.
Hope this helps. Please feel free to post here if anything is unclear.
--
Regards,
Walter Wang (wa****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.