[英]Is there a way to see decompiled C# code in VS Code?
Is there a way to see decompiled C# code in VS Code?有没有办法在 VS Code 中查看反编译的 C# 代码?
Whenever I go to the decompiled implementation, I see only interfaces of methods, but not the implementation.每当我 go 到反编译实现时,我只看到方法的接口,但看不到实现。 I heard that some people claim that VS Code can show decompiled implementation as well and was wondering if it is true and how could I enable the feature in VS Code.我听说有些人声称 VS Code 也可以显示反编译的实现,并且想知道这是否属实以及如何在 VS Code 中启用该功能。
I suppose you have installed the omnisharp
extension ( https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp )我想你已经安装了omnisharp
扩展( https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp )
You can turn on the setting "Enable Decompilation Support", which is disabled per default.您可以打开默认禁用的“启用反编译支持”设置。 After turning that on, you should be able to see the decompiled code right away.打开后,你应该可以马上看到反编译的代码。
You can read more about it here: https://www.strathweb.com/2020/05/decompilation-support-in-omnisharp-and-c-extension-for-vs-code/您可以在此处阅读更多相关信息: https://www.strathweb.com/2020/05/decompilation-support-in-omnisharp-and-c-extension-for-vs-code/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.