反射器不反编译“System.Data.Entity.dll'.NET 4.0 [英] Reflector Not Decompiling 'System.Data.Entity.dll' .NET 4.0

查看:98
本文介绍了反射器不反编译“System.Data.Entity.dll'.NET 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当在 System.Data.Entity.dll 寻找.NET 4.0,没有方法被反编译。我只看到了方法存根。我试图重新安装反射器,但它仍然没有奏效。我能够编译其他.NET程序集就好了。

When looking at the System.Data.Entity.dll for .NET 4.0, no methods are being decompiled. I only see the method stubs. I tried re-installing reflector but it still didn't work. I am able to decompile other .NET assemblies just fine.

推荐答案

我觉得你的问题是,你已经指出反射镜上的仅元数据版本的程序集。

I think your issue is that you've pointed Reflector at the metadata-only version of the assembly.

许多组件都安装由VS 2010中包含的原装配的只有元数据,而不是方法的IL,使用。他们这样做是出于性能的考虑和multitargeting支持。

A number of assemblies are installed for use by VS 2010 that contain only the metadata, not the method's IL, of the original assembly. They did this for performance reasons and for multitargeting support.

如果你检查,你可能会发现你要寻找的组件都在PROGRAMFILES的引用程序集目录下。如果指向同一个组件在Windows \ microsoft.net \框架...你会看到反射器可以拆卸这和所有其他BCL组件。

If you check, you'll probably see that the assemblies you're looking at are under the "Reference Assemblies" directory in ProgramFiles. If you point to the same assemblies under windows\microsoft.net\framework... you'll see Reflector can disassemble this and all other BCL assemblies.

这篇关于反射器不反编译“System.Data.Entity.dll'.NET 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆