Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
tools
vsnet.act
vsnet.debugging
vsnet.documentation
vsnet.enterprise.tools
vsnet.general
vsnet.ide
vsnet.jlca
vsnet.servicepacks
vsnet.setup
vsnet.vsip
vsnet.vss
vsnet.vstools.office
vstudio.development
vstudio.extensibility
vstudio.general
vstudio.helpauthoring
vstudio.setup
vstudio.sourcesafe
  
 
date: Wed, 19 Mar 2008 21:56:57 +0100,    group: microsoft.public.vstudio.development        back       


compile project from commandline in VS2008   
Hello,

i have some Visual Studio 6.0 projekts (.dsw etc) and i compile them from a 
master batch. (my compiles are done overnight in batch mode).
as follows:

msdev PL2_DB_VCSAMPLE.DSW /MAKE "PL2_DB_VCSample - Win32 Unicode Debug" 
/REBUILD /USEENV /OUT PL2_DB_VCSAMPLE.err

now i start working with Visual Studio 2008 Express.

When i double click on the .dsw file VS2008 starts and will convert the 
projekt to a VS2008 solution/projekt.

but now what?

how can i compile the sources from the batch?

i tried vcexpress /? but there are just a few options for debugging (which 
works fine this way), but nearly none of the old msdev options are 
available.

S:\SU\PL2_DB_VCSAMPLE>msdev /?
Usage:
  MSDEV [myprj.dsp|mywksp.dsw] - load project/workspace
 [<filename>]  - load source file
 /?   - display usage information
 /EX <macroname>  - execute a VBScript macro
 /OUT <filename>  - redirect command line output to a file
 /USEENV   - ignore tools.options.directories settings
 /MAKE [<target>] [...] - build specified target(s)
       [<project> - <platform> <configname>]
       [[<project>|ALL] - [DEBUG|RELEASE|ALL]]
       /CLEAN  - delete intermediate files but don't build
       /REBUILD  - clean and build
       /NORECURSE - don't build dependent projects

any ideas what i can dò?

thx for any help!

mario.
date: Wed, 19 Mar 2008 21:56:57 +0100   author:   Mario Semo

Re: compile project from commandline in VS2008   
"Mario Semo"  wrote in message news:eZkKTPgiIHA.4076@TK2MSFTNGP05.phx.gbl...

> i have some Visual Studio 6.0 projekts (.dsw etc) and i compile them from a master batch now i start working with Visual Studio 
> 2008 Express.
> how can i compile the sources from the batch?

Things are a little different now. First build the project using the GUI first. Make it compile
correctly inside VS2008. Then you only need do:


@ECHO OFF
REM Set which version of Visual Studio you are using. The path to includes and bin etc..
call %VS90COMNTOOLS%vsvars32.bat

REM Run rc.exe as VCExpress will not do rc scripts
REM rc.exe test.rc

REM Visual Studio 2002 and newer can process the sln file
REM Replace 'VCExpress' with 'devenv' for pro versions
VCExpress.exe   MyProject.sln   /build Release
date: Thu, 20 Mar 2008 06:40:16 -0500   author:   na

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us