csc errors, cannot view them!!!

aewarnick

Senior Contributor
Joined
Jan 29, 2003
Messages
1,031
That program is frustrating!! I get errors when I try to build sometimes and I run the batch file I created over and over again trying to read the errors because it closes immediately!!

How do I pause the csc.exe console program so that I can view the errors?
 
If you're running it with a batch file stick a pause command at the end of it. If you're not running it from a batch file, I suggest you do :)
 
Yes, I am running it from a batch file. I tried putting choice.com at the end and setting the timer to 4 seconds but it did nothing. I don't know the pause command apart from /p
 
The pause command isn't a parameter, it's just a command. Put it on a blank line after your csc call.
 
Back
Top