【问题标题】:How to inspect / disassemble a Visual Studio Extension如何检查/反汇编 Visual Studio 扩展
【发布时间】:2012-10-09 21:23:49
【问题描述】:

我有一个 Visual Studio 扩展 (.vsix),我想检查和/或最好反汇编它,因为它包含一些我想研究的源代码。

我正在使用 Visual C# 2010 Express Edition,但是如果存在这样的东西,我想要一个外部工具。

谁能建议我在哪里可以找到检查/反汇编扩展的工具?

谢谢。

【问题讨论】:

  • @Guillaume - ILSpy 不打开扩展名 (.vsix)
  • 看看其他人的答案。

标签: c# .net visual-studio-2010 visual-studio-extensions


【解决方案1】:

如前所述,VS 插件只是美化的 zip 存档。将插件文件从 vsix 重命名为 zip,解压并反编译。我刚刚使用免费的Teleric Just Decompile 完成了它,并从 nuget 包中获取了此代码:

protected virtual bool CollapseVersions
{
    get
    {
        SwitchParameter allVersions = this.AllVersions;
        if (allVersions.IsPresent)
        {
            return false;
        }
        else
        {
            return this.ListAvailable;
        }
    }
}

很酷!

【讨论】:

    【解决方案2】:

    vsix 文件的扩展名更改为zip,然后在它包含的DLL 上使用您最喜欢的反汇编程序。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-10-14
      • 2018-03-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多