Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while trying to run project: Unable to start program. The request is not supported

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

Error while trying to run project: Unable to start program ''. The request is not supported. enter image description here

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.

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

Any idea?

like image 315
Tognolo Avatar asked Mar 24 '17 14:03

Tognolo


2 Answers

You need to check "Use Managed Compatibility Mode" in Tools|Options|Debugging|General.

like image 126
emre kaplan Avatar answered Oct 23 '22 14:10

emre kaplan


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.

like image 45
Tognolo Avatar answered Oct 23 '22 14:10

Tognolo