Consoleapplication1.exe -
Check the Error List window in Visual Studio. Fix all "Red X" errors and then click Build > Build Solution before trying to run again. The Console Window Disappears Immediately
If you get a BadImageFormatException , ensure your project settings (x86 vs x64) match the libraries you are trying to load. ConsoleApplication1.exe
If your program needs to write to specific system folders or create Event Logs, you may need to run Visual Studio as an Administrator. Check the Error List window in Visual Studio