Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual Studio 2017 - "The request is not supported" #1449

Closed
petar-maletic opened this issue Feb 12, 2018 · 15 comments
Closed

Visual Studio 2017 - "The request is not supported" #1449

petar-maletic opened this issue Feb 12, 2018 · 15 comments
Labels
Projects

Comments

@petar-maletic
Copy link

@petar-maletic petar-maletic commented Feb 12, 2018

ConEmu build: 180206 x64, 180206 x64, 161206 x64
OS version: Windows 7 x64

Problem description:
I've installed ConEmu (tried all versions above). Options "Force ConEmu as default..." and "Register in OS startup" are enabled, also I've added devenv.exe to hooked executables list. Everything is working fine with Visual Studio 2013, both start with debugging and without debugging... but with Visual Studio 2017 I'm getting error message "The request is not supported" when trying to start my console app with debugging.

Is there a way to setup VS 2017 / ConEmu to work with start with debugging option?
Thank you.

@Maximus5 Maximus5 added the hooks label Feb 12, 2018
@Maximus5 Maximus5 added this to To Do in ConEmu via automation Feb 12, 2018
@Maximus5 Maximus5 moved this from To Do to In progress in ConEmu Mar 18, 2018
@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Mar 28, 2018

It works properly on my Win 10 (1709), VS 2017 (15.5.x) and ConEmu 180318.

Not enough info to go further. At least I need exact message text and Log Files.

@Maximus5 Maximus5 removed this from In progress in ConEmu Mar 28, 2018
@Maximus5 Maximus5 added this to To Do in Inspection via automation Mar 28, 2018
@jValdron
Copy link

@jValdron jValdron commented Apr 9, 2018

Getting the same issue here, on Win 10 (16299), VS 2017 (15.6.5) and ConEmu (180409), UAC enabled.

This is the error I'm getting from VS:
image

And the logs from ConEmu (debug hooked process)
devenv.exe-26500.log

Works fine when starting without debugging, but fails with debug.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Apr 9, 2018

  • What project type do you try to debug? C#, C++, Desktop, UWP?
  • What platform and config? Mixed/x86/x64/release/debug?
@jValdron
Copy link

@jValdron jValdron commented Apr 9, 2018

C# console application on Debug/Any CPU.

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Apr 9, 2018

@jValdron Log file devenv.exe-26500.log was created during Debug attempt or "run without debug"?

@jValdron
Copy link

@jValdron jValdron commented Apr 9, 2018

devenv.exe-26500.log was created during the debug attempt. Here's of a successful run without debug, then an attempt at debug. There is extra stuff at the beginning, looks like it grabbed the execution of grunt too.

devenv.exe-33172.log

@jValdron
Copy link

@jValdron jValdron commented Apr 9, 2018

So, the project was being built with Any CPU, but it had the "prefer 32-bit" option enabled. Removing this (or building for x64 directly) launches the console application just fine, however, it is not being captured by ConEmu.

So in short, launching 32-bit returns "The request is not supported", x64 is fine, but not being captured by ConEmu.

@Maximus5 Maximus5 moved this from To Do to In progress in Inspection Apr 12, 2018
@Maximus5 Maximus5 moved this from In progress to Done in Inspection Apr 12, 2018
@Maximus5 Maximus5 removed this from Done in Inspection Apr 12, 2018
@Maximus5 Maximus5 added this to To Do in ConEmu via automation Apr 12, 2018
@Maximus5 Maximus5 moved this from To Do to Ready for Testing in ConEmu Apr 12, 2018
@jValdron
Copy link

@jValdron jValdron commented Apr 18, 2018

@Maximus5, looks like 653a651 did the trick. Running in preview, at v18.04.15 at the moment, and debugged my solution when it popped up in ConEmu.

Thanks for the quick turn around! Having ConEmu handle my console applications instead of having them all loose over the place will be great.

@Maximus5 Maximus5 closed this Apr 18, 2018
ConEmu automation moved this from Ready for Testing to Done Apr 18, 2018
@Razenpok
Copy link

@Razenpok Razenpok commented May 8, 2018

@Maximus5, I see this error in 180506 on 32-bit builds (on 64-bit everything works, including capturing)
devenv.exe-16840.log

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented May 8, 2018

Sample project or at least exact project/debug options would help

@Maximus5 Maximus5 reopened this May 8, 2018
ConEmu automation moved this from Done to In progress May 8, 2018
@Razenpok
Copy link

@Razenpok Razenpok commented May 8, 2018

Project:
https://github.com/Razenpok/ConEmu.1449

Also, I'm using cmder. Here is my setup if it can help:
https://github.com/Razenpok/cmder

@Razenpok
Copy link

@Razenpok Razenpok commented Aug 15, 2018

@Maximus5 it's been a while now, do you still need repositories from my last comment to resolve this issue?

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Aug 15, 2018

Unfortunately I had not enough time to dig it. Anyway, I forked your repo...

@kazidevelop
Copy link

@kazidevelop kazidevelop commented Oct 9, 2018

The error went away after setting - compatibility mode.

You need to check "Use Managed Compatibility Mode" in Tools|Options|Debugging|General.
source:
https://stackoverflow.com/questions/43002441/error-while-trying-to-run-project-unable-to-start-program-the-request-is-not-s/43002574

@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Jan 10, 2021

DefTerm support was updated to VS 2019
https://conemu.github.io/blog/2021/01/09/Build-210109.html

@Maximus5 Maximus5 closed this Jan 10, 2021
ConEmu automation moved this from In progress to Done Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
ConEmu
  
Done
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.