I have a visual studio c test project (Helloworld project) created from VS 2008 professional edition and it contains VC++ project file.
May I know how can I build the same project from commandline(cmd) so that I wont need to take the VS GUI for building the same.
I am pretty comfused that it may need some make file to be created but I cannot see any option to create the ame in the visual studio said edition.
any suggestions or helps are much appreciated.
You can drive the solution or project build using
vcbuildordevenv. An example of the latter:(You can run
vcbuild /?anddevenv /?to find their commonly used options.)Note that in Visual Studio 2010 and later, Visual C++ projects use MSBuild, so projects can be built on the command line using
msbuild, just like any other MSBuild projects (C#, VB, etc.). The older VCBuild, used in previous versions of Visual Studio, is no longer supported.