Reflector的FileDisassembler插件输出结果为乱码的解决方案。
在Reflector中使用FileDisassembler插件,生成的文件中文有乱码,其实是因为编码的关系,修改之即可。附下载。
找到源码中FileDisassemblerHelper.cs里第 289 行开始。改为如下:
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/ExpandedBlockStart.gif)
![](/Images/OutliningIndicators/InBlock.gif)
![](/Images/OutliningIndicators/InBlock.gif)
![](/Images/OutliningIndicators/InBlock.gif)
![](/Images/OutliningIndicators/ExpandedBlockEnd.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/ExpandedBlockStart.gif)
![](/Images/OutliningIndicators/InBlock.gif)
![](/Images/OutliningIndicators/ExpandedBlockEnd.gif)
![](/Images/OutliningIndicators/None.gif)
![](/Images/OutliningIndicators/None.gif)
另外,注释掉AssemblyInfo.cs里的签名就可以编译了,为了以示区别,我还改了一下版本号,最后一位改为1.
[assembly: AssemblyVersion("5.0.42.1")]