473,386 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Compiling from the command line

I have a VB solution which consists of a number of projects. When I put the
executable out for QA, it would be nice to be able to run a script that goes
into Source Safe and does a Get Latest and then compiles the code. I think
I have the Source Safe portion figured out, but can anyone tell me how to
compile the solution (and each of its projects) from the command line?

TIA
Ron L
Nov 21 '05 #1
5 1972
You can use:

devenv.exe /build <configuration> <solution_or_project_file>

or similar. Type devenv.exe /? at the command prompt to see the available
options and switches.

To use Source Safe from the command-line you have to use ss.exe (Win32
folder) and its available options and switches.

Also, you have 3rd party solutions such as www.finalbuilder.com to make all
it graphically and better than using .bat or .vbs files...

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Ron L" <ro**@bogus.Address.com> escribió en el mensaje
news:ul**************@TK2MSFTNGP15.phx.gbl...
I have a VB solution which consists of a number of projects. When I put
the executable out for QA, it would be nice to be able to run a script that
goes into Source Safe and does a Get Latest and then compiles the code. I
think I have the Source Safe portion figured out, but can anyone tell me
how to compile the solution (and each of its projects) from the command
line?

TIA
Ron L

Nov 21 '05 #2
Carlos

Thanks for your response. I will take a look at that. Do you know what the
difference between this and VBC is? I stumbled across VBC after I posted my
original question.

Thanks,
Ron L
"Carlos J. Quintero [VB MVP]" <ca*****@NOSPAMsogecable.com> wrote in message
news:u0**************@TK2MSFTNGP15.phx.gbl...
You can use:

devenv.exe /build <configuration> <solution_or_project_file>

or similar. Type devenv.exe /? at the command prompt to see the available
options and switches.

To use Source Safe from the command-line you have to use ss.exe (Win32
folder) and its available options and switches.

Also, you have 3rd party solutions such as www.finalbuilder.com to make
all it graphically and better than using .bat or .vbs files...

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Ron L" <ro**@bogus.Address.com> escribió en el mensaje
news:ul**************@TK2MSFTNGP15.phx.gbl...
I have a VB solution which consists of a number of projects. When I put
the executable out for QA, it would be nice to be able to run a script
that goes into Source Safe and does a Get Latest and then compiles the
code. I think I have the Source Safe portion figured out, but can anyone
tell me how to compile the solution (and each of its projects) from the
command line?

TIA
Ron L


Nov 21 '05 #3
I am not sure but I suppose that VBC is the VB.NET compiler, part of the
..NET Framework SDK, and that is called by the VS.NET IDE (devenv.exe).

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio .NET, VB6, VB5 and VBA
You can code, design and document much faster.
Free resources for add-in developers:
http://www.mztools.com

"Ron L" <ro**@bogus.Address.com> escribió en el mensaje
news:OH**************@tk2msftngp13.phx.gbl...
Carlos

Thanks for your response. I will take a look at that. Do you know what
the difference between this and VBC is? I stumbled across VBC after I
posted my original question.

Thanks,
Ron L


Nov 21 '05 #4
"Ron L" <ro**@bogus.Address.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...
Do you know what the difference between this and VBC is?


VBC is the Visual Basic compiler and it requires an awful lot more
on the command line to make it work (like an entry for /every/
referenced assembly); devenv deals with all this implicitly.

Also, if you're running this from a DOS Batch file, I recommend
using devenv.com rather than devenv.exe.

HTH,
Phill W.
Nov 21 '05 #5
Phil

Thanks for the response. I will take a look at this.

Ron L

"Phill. W" <P.A.Ward@o-p-e-n-.-a-c-.-u-k> wrote in message
news:dj**********@yarrow.open.ac.uk...
"Ron L" <ro**@bogus.Address.com> wrote in message
news:OH**************@tk2msftngp13.phx.gbl...
Do you know what the difference between this and VBC is?


VBC is the Visual Basic compiler and it requires an awful lot more
on the command line to make it work (like an entry for /every/
referenced assembly); devenv deals with all this implicitly.

Also, if you're running this from a DOS Batch file, I recommend
using devenv.com rather than devenv.exe.

HTH,
Phill W.

Nov 21 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Andres Rosado-Sepulveda | last post by:
Hello, I'm having trouble compiling PHP 4.3.4 on Solaris 8. This is the error message it is showing: -- start -- Undefined first referenced symbol ...
0
by: pruebauno | last post by:
Hello all, I am having issues compiling Python with large file support. I tried forcing the configure script to add it but then it bombs in the make process. Any help will be appreciated. ...
0
by: Norm Wong | last post by:
If anyone is interested in using db2uext2 with Cygwin gcc compiler on Windows, I've modified the IBM provided sample with the attached file. There are two main modifications. The mkdir command...
11
by: Carramba | last post by:
hi! thanx for taking time to read my post. code #include <stdio.h> int main() { printf("Hello word!"); return 0; }//END when Iam compiling code with gcc I can't start program in winXP by
4
by: bryan | last post by:
I'm still using Beta 2 of VS2005. I'd like to be able to precompile my web site (similar to 1.x) so that I don't have to put source files on the deployment server. Is there anyway to do this other...
4
by: N. P. | last post by:
I do not have Visual Basic .NET Standard or higher but I have downloaded the ..NET SDK and the 101 VB.NET samples from the MSDN website. I am sure that there must be a way to compile and...
7
by: Sverker Nilsson | last post by:
I have been informed that Guppy-PE (http://guppy-pe.sourceforge.net) has failed to compile its extension modules with a Microsoft .NET 2003 compiler under Windows 2000. One of the problems,...
7
by: maya | last post by:
hi, I'm following example 'Intro7.aspx' here, http://www.csharpfriends.com/quickstart/aspplus/doc/webformsintro.aspx#customctrls it says on top of Acme.cs "namespace Acme" I assume this means...
2
by: stevenruiz | last post by:
Hi Everyone, The Strings.h has the function Get_Line which is defined and the error is shown below: Strings.h: void get_line( istream & );
6
by: JR | last post by:
The code below compiles and runs perfectly in Windows XP Pro, Using MS VS 2005. If I compile with g++ (cygwin) using the following command line: g++ -pedantic -Weffc++ -Wall -Wctor-dtor-privacy ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.