This project is read-only.


CleanProject: Error if /Z argument is missing


if you configure the arguments with only /D:"$(SolutionDir)" you get an error.
Closed May 7, 2012 at 11:30 PM by ronjacobs
Added error handling code to check for the InvalidOperationException that occurs when the console is redirected to output window in Visual Studio.


ronjacobs wrote May 7, 2012 at 9:24 PM

Was this the error?
Unhandled Exception: System.InvalidOperationException: Cannot read keys when either application does not have a console or when console input has been redirected from a file. Try Console.Read.
at System.Console.ReadKey(Boolean intercept)
at CmdLine.CommandLine.PromptKey(String prompt, Char[] allowedKeys)
at CleanProject.Program.ConfirmOptions()
at CleanProject.Program.Main()

wrote May 7, 2012 at 11:30 PM

wrote May 7, 2012 at 11:30 PM

delfo wrote May 8, 2012 at 6:31 AM


wrote Feb 22, 2013 at 1:08 AM

wrote May 16, 2013 at 12:27 PM