c# - Visual Studio not using Visual Studio Command Prompt for post-build events -


i wondering why visual studio won't it's been told recognized, visual studio uses standard windows command prompt , not own vs cmd prompt.

this results in an

'csc' not recognized internal or external command 

error message in build output window.

so.. there way tell vs use own command line tool csc usable or have set additional system variables run?

the easiest way call out thing normal vsxxxx command prompt uses:

ex:

call ""%programfiles(x86)%\microsoft visual studio 10.0\vc\vcvarsall.bat"" x86 

(edit: updated per hans's comment)


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -