Exe不会发布 [英] Exe won't release

查看:73
本文介绍了Exe不会发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Windows 10上的Visual Studio 2015 Windows窗体应用程序。我做了一些没有问题的项目。现在在一个新项目上,当我构建/发布并运行可执行文件然后退出exe仍然在任务管理器中。

I am working with Visual Studio 2015 Windows forms application on Windows 10. I have done some projects with no problem. Now on a new project when I build/release and run the executable and then exit the exe is still in the task manager.

你能说出如何释放exe。

Can you tell how to release the exe.

谢谢

John

推荐答案

如果您使用的是Visual Basic,则可以使用End。或者将设置更改为关闭主窗口关闭或应用程序项目属性中的类似内容。

If you're using Visual Basic you can use End. Or change the setting to close on main window close or something similar in the app project properties.

您还可以捕获正在关闭的任何表单并将结束放在那里以执行此操作。这将是一些Form关闭/结束事件处理程序。

You can also catch whatever form is closing and throw the end in there to do it. That would be some Form close/end event handler.


这篇关于Exe不会发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆