Command line complilation
-
Hi all ... I m having several solutions containing several VC++ projects depending on each other in .net 2003 IDE. I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free. How can i do that.?? I tried Using Nmake (for a simple solution for testing only )but the problem is that it is giving error "fatal error U1073: don't know how to make 'CI_POC.cpp'" Can someone help me out ...!!!!!!!!!!!!! Thanx a zillion in advance ..
It's not enough to be the best, when you have capability to be great....
-
Hi all ... I m having several solutions containing several VC++ projects depending on each other in .net 2003 IDE. I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free. How can i do that.?? I tried Using Nmake (for a simple solution for testing only )but the problem is that it is giving error "fatal error U1073: don't know how to make 'CI_POC.cpp'" Can someone help me out ...!!!!!!!!!!!!! Thanx a zillion in advance ..
It's not enough to be the best, when you have capability to be great....
You can try devenv.com with /Build commandline option
-
You can try devenv.com with /Build commandline option
sorry but i didn't get what you want to say ....?
It's not enough to be the best, when you have capability to be great....
-
Hi all ... I m having several solutions containing several VC++ projects depending on each other in .net 2003 IDE. I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free. How can i do that.?? I tried Using Nmake (for a simple solution for testing only )but the problem is that it is giving error "fatal error U1073: don't know how to make 'CI_POC.cpp'" Can someone help me out ...!!!!!!!!!!!!! Thanx a zillion in advance ..
It's not enough to be the best, when you have capability to be great....
Pavan_Putra wrote:
I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free.
devenv "E:\Test\test\test.sln" /rebuild debug
and it worked. I hope it helps.
Regards, Sandip.
-
Pavan_Putra wrote:
I have to compile those solutions from command line (for continous intregation and automating the process )or any other way which could be automated and is free.
devenv "E:\Test\test\test.sln" /rebuild debug
and it worked. I hope it helps.
Regards, Sandip.
I m also trying the same through command line but it is giving error that devenv is not recognized as internal or external command. Also i am using .net 2003 studio. Thanx.
It's not enough to be the best, when you have capability to be great....
-
I m also trying the same through command line but it is giving error that devenv is not recognized as internal or external command. Also i am using .net 2003 studio. Thanx.
It's not enough to be the best, when you have capability to be great....
D'oh. How about adding the path to devenv.exe to your "Path" environment variable?
-
I m also trying the same through command line but it is giving error that devenv is not recognized as internal or external command. Also i am using .net 2003 studio. Thanx.
It's not enough to be the best, when you have capability to be great....
It is recognizing the command after i have dumped devenv.exe in system32 but it is giving error that it is not a valid solution file. While we do use same sln file for opening/building solution through .Net 2003 IDE. Thanx a Zillion.
It's not enough to be the best, when you have capability to be great....
-
It is recognizing the command after i have dumped devenv.exe in system32 but it is giving error that it is not a valid solution file. While we do use same sln file for opening/building solution through .Net 2003 IDE. Thanx a Zillion.
It's not enough to be the best, when you have capability to be great....
When take a command prompt, the Visual Studio environment is not set. You can either set it by running the
vcvars___.bat
which you can find insideC:\Program Files\Microsoft Visual Studio\VC\bin
or you can take theVisual Studio Command Prompt
fromStart -> All Programs -> Microsoft Visual Stdio -> Visual Studio Tools
. From the command prompt typedevenv /?
to see all the command line option that it supports. You may have to create a batch file to execute each of your solutions in what ever order you want.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++)