执行Visual Studio创建的*.exe不打开窗口,进程无法终止 [英] Executing the Visual Studio created *.exe does not open a window and the process can not be terminated
问题描述
我在 Visual Studio 2015 中创建了一个小型 C# 项目,它执行一些简单的文本操作.从 Visual Studio 内部启动应用程序工作正常.如果我启动其中一个创建的 exe 文件(调试/发布),则会启动一个进程,但主窗口永远不会打开.我无法通过 Taskmanager 或 cmd 停止该过程.我已经尝试过:
I created a small C# Project in Visual Studio 2015 which does some simple Text manipulation. Starting the application from inside Visual Studio works fine. If I start one of the created exe files (debug/release), a process starts, but the main window never opens. I am not able to stop the process via Taskmanager or cmd. I've attempted:
- 使用不同的目标框架 3.5/4
- 消除引用
- 开始一个新项目并添加原始源文件和表单
- 创建 setup.exe -> 相同的行为,也在不同的计算机上
- 重新安装 Visual Studio
- 调试 exe(注意:我没有任何调试 Windows 应用程序的经验)我所有的尝试都使调试器崩溃
- 构建旧项目:仍然可以正常工作
在这一点上,我真的不知道问题是什么.我已将项目上传到 GitHub:https://github.com/webbertee/FrequencyDataTool
At this point, I really have no idea what the problem is. I've uploaded the project to GitHub: https://github.com/webbertee/FrequencyDataTool
推荐答案
是的,avast 就是这样做的.禁用avast解决了这个问题.谢谢你的帮助 =)
Yes, avast does this. Disabling avast fixed the problem. Thank you for your help =)
这篇关于执行Visual Studio创建的*.exe不打开窗口,进程无法终止的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!