How to compile from the command line using visual studio 2005

I need to compile a Visual Studio 2005 C ++ project from the command line. I found this post in SOF archives, but it doesn't seem to help me solve my problem. I can not find either msbuild nor vcexpress. Can someone tell me where they should be, or is there another command for Visual Studio 2005?

I need to create a batch file that does the compilation.

+4
source share
2 answers

Click Start, select All Programs, Microsoft Visual Studio, Visual Studio Tools, and Visual Studio Command Prompt.

To open the Windows SDK command prompt window (Windows SDK version 6.1 or later): Click the "Start" button, select "All Programs", "Microsoft Windows SDK", then "Command Prompt SDK" or "CMD Shell".

And read How to compile a C ++ source program from the command line in Visual Studio

+2
source

You are looking for cl.exe.
But, ehm, a batch file? Don't you mean makefile?

+1
source

Source: https://habr.com/ru/post/1388901/


All Articles