尝试运行项目时出错:无法启动程序.请求不受支持 [英] Error while trying to run project: Unable to start program. The request is not supported

查看:53
本文介绍了尝试运行项目时出错:无法启动程序.请求不受支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Windows 10 上使用 VS2017 启动应用程序时遇到问题.在调试模式下启动时,会出现一个带有消息的弹出窗口:

I'm having problems launching an application with VS2017 on Windows 10. Starting in Debug mode, a popup apperars with the message:

尝试运行项目时出错:无法启动程序".不支持该请求.

如果我在没有调试的情况下启动,它就会运行.如果我运行它然后附加到该进程,它会附加.如果我以管理权限运行,那么它会进行调试(但我无法以管理权限进行开发).我是源代码和项目所在文件夹的所有者.

If I launch without debug, it runs. If I run it and then attach to the process, it attaches. If I run with administrative privileges, then it debugs (but I can't develop with administrative privileges). I'm owner of the folder where is source code and where project is built.

它在以前装有 Windows 7 的 PC 上的作用就像一个魅力.

It works like a charm on previous PC with Windows 7.

有什么想法吗?

推荐答案

最后,我找到了解决方案.问题是 ConEmu 设置为积极模式"并作为默认终端:它捕获我的应用程序执行并进行一些未知干扰.我删除了该设置,我的应用就像一个魅力.

In the end, i found the solution. The problem is ConEmu set in "Aggressive mode" and as default terminal: it capture my application execution and do some unknown interference. I removed that setting, and my app work like a charm.

这篇关于尝试运行项目时出错:无法启动程序.请求不受支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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