What Was I Thinking?

Follies & Foils of .NET Development
posts - 95 , comments - 352 , trackbacks - 0

May 2010 Entries

FIX: Visual Studio Post Build Event Returns –1 when it should not.
I had written a Console Application that I run as part of my post build for other projects.. The Console application logs a series of messages to the console as it executes. I use the Environment.ExitCode value to specify an error or success condition. When the application executes without issue, the ExitCode is 0, when there is a problem its –1. As part of my logging, I log the value of the exit code right before the application terminates. When I run this executable from the command line, it behaves ......

Posted On Thursday, May 27, 2010 12:00 PM | Comments (1) | Filed Under [ Visual Studio ]

Powered by: