RobertAlanGustafsonII
Member
- Joined
- Sep 16, 2023
- Messages
- 22
- Programming Experience
- 10+
WHAT I HAVE:
Visual Basic 2019, .NET Framework 4.6+
MY PROBLEM:
Recently, my WinForms and Console apps--which ran fine before--refused to debug/run in the IDE. At first, the problem was that they would build and then abort (without executing a single statement), saying, "Program exited with code 0 (0x0)" in the Output window; I found that for many of them, turning on "Use Managed Compatibility Mode" solved the problem and enabled them to run. However (!!), some--and only some--programs still refuse to debug; they build and then mysteriously abort without any error message and without any exit message in the Output window! I tried toggling the managed-compatibility-mode option off and on again, cleaning and rebuilding the solution, exiting and restarting Visual Studio--and nothing worked for these programs. Other apps run fine now, but some refuse to debug if I change them; others debug fine even when changes are made. Also, when I create an all-new program, it won't debug.
What's going on?!
Visual Basic 2019, .NET Framework 4.6+
MY PROBLEM:
Recently, my WinForms and Console apps--which ran fine before--refused to debug/run in the IDE. At first, the problem was that they would build and then abort (without executing a single statement), saying, "Program exited with code 0 (0x0)" in the Output window; I found that for many of them, turning on "Use Managed Compatibility Mode" solved the problem and enabled them to run. However (!!), some--and only some--programs still refuse to debug; they build and then mysteriously abort without any error message and without any exit message in the Output window! I tried toggling the managed-compatibility-mode option off and on again, cleaning and rebuilding the solution, exiting and restarting Visual Studio--and nothing worked for these programs. Other apps run fine now, but some refuse to debug if I change them; others debug fine even when changes are made. Also, when I create an all-new program, it won't debug.
What's going on?!
Last edited: