Title: Compiling VC++ 6 Project
Darren,
 
Since you're using Visual Studio 6, you'll probably need to go the <exec> route (unless there is a legacy C++ task available in nantcontrib - I haven't looked). I suggest getting the build working from the command line before trying to automate it using NAnt.
 
A quick look at the help documentation for VS6 suggests you should probably be calling msdev, not devenv.
 
Hope this helps,
Regards,
Richard


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Gage
Sent: Sunday, June 25, 2006 18:28
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Compiling VC++ 6 Project

Hi,

Can anyone tell me the easiest way to compile a VC++ 6.0 Project.

I.e. using Visual Studio project file, StructuredPrototype1.dsp

I've tried:

1 - using  devenv.  But this gives me message dialog  stating "Projects generated by a previous version of Visual C++ and cannot be loaded or converted by Visual Studio 6.0", even though the project can be opened and compiled using Visual Studio 6.0.

2-  Using either MSBUILD or VCBuild I get "error MSB4025: The project file could not be loaded. Data at the root level is invalid. Line 1, position 1.".

3 - Compiling using the <cl> task fails because the compile order is not maintained.

thanks

Darren

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to