-
Notifications
You must be signed in to change notification settings - Fork 675
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
The omnisharp.enableDecompilationSupport setting doesn't enable decompilation #4817
Comments
I am unfortunately unable to reproduce this problem. Please set Also please note that |
You can re-trigger the pop up by launching the |
Oh I think I know what you mean now. This works fine when decompilation agreement is accepted in the current workspace. But the decompilation agreement is not shown anymore on subsequent starts of the VS Code and the decompilation consent is not persisted across starts, making the whole thing behave as if decompilation was off. @JoeRobich @nohwnd looks like this change (?) broke this #4760? would you mind checking whether the consent is persisted correctly across VS Code starts |
@cateyes99 Thanks for reporting. Once the fix merges I'll make a prerelease build that you can install. Will likely wait until next week for a new release to see if any other issues are reported. |
@cateyes99 a prerelease build is available at https://github.com/OmniSharp/omnisharp-vscode/releases/tag/v1.23.17-beta1. You can reference these instructions for installing beta releases - https://github.com/OmniSharp/omnisharp-vscode/wiki/Installing-Beta-Releases#installing-a-beta-release-of-the-c-extension |
@JoeRobich thanks. Just tried. Both To make it trigger the disclaimer warning automatically with both versions, I found that the following odd steps:
Now the interesting difference between the 2 versions I observed is: But don't know why setting |
I think we could clear the Decompilation Authorization when |
@JoeRobich this way sounds good 👍 |
@cateyes99 @JoeRobich As you can see in the image I can't see any command that matches that. |
VSCode version: 1.60.2
C# Extension: 1.23.16
Steps to reproduce
Set the
omnisharp.enableDecompilationSupport
to true in VSCode's settings.json.Expected behavior
F12 (Go to Definition) should navigate to the decompiled the source code.
Actual behavior
It doesn't, but just navigates to metadata. So
omnisharp.enableDecompilationSupport
looks like having no effect.Look like, leave this setting with its default value, i.e.,
omnisharp.enableDecompilationSupport = false
, but adding the below settings into the file%USERPROFILE%/.omnisharp/omnisharp.json
will just enable the decompilation feature.
The text was updated successfully, but these errors were encountered: