I am trying to compile a C++ file from the command line using:
C:\"Program Files (x86)"\"Microsoft Visual Studio 10.0"\VC\bin\x86_amd64\CL /FAcs C:\Users\X\Documents\"Visual Studio 2010"\Projects\"Project File"\My_Project\HELLO.CPP
but I get the error:
The program can't start because mspdb100.dll is missing from your computer. Try reinstalling the program to fix this problem.
I must be making the wrong command line call. Could someone please help?
EDIT I am going to be calling this from a C# app, creating a Process object and then executing. Is there a way I can ensure all variables are set, from the C# app/executing another .bat script from the C# code?