Unable to run applications in debug mode in Visual Studio 2022 - Stack Overflow

Since yesterday, I am unable to run any of my Windows Forms apps in debug mode (by pressing F5). When I

Since yesterday, I am unable to run any of my Windows Forms apps in debug mode (by pressing F5). When I try to do that, the applications close automatically and in the output box there is a message reading:

The program '[20468] [program name here]' has exited with code 0 (0x0).

The applications work properly when run without debugging (Ctrl+F5)

Stopping points placed at the beginning of the first form to load are not being triggered so I would exclude the code itself is closing the applications. The same behaviour is happening on all applications, all of which were working fine until two days ago.

I have uninstalled and re-installed Visual Studio two times. On the second uninstall, I deleted all the folders and registry keys related to Visual Studio in order to make sure there were no residue setting. Unfortunately, I keep getting the same result.

The applications in question are VB.Net Windows Forms Apps with .Net Framework 4.8. They were all opening fine until yesterday.

Update: I created a simple app that only consists of a single form with no code at all. Same problem. I cleaned the solution and re built several times without success. I uninstalled VS 2022 and installed VS 2019 but I still experience the same problem. The files are in a shared folder that I can access from another PC and the applications work fine from another PC. It appears that the problem only affects my work station.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743782684a4506089.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信