使用 Reflector 反汇编 WPF4 beta2 DLL
我正在尝试反汇编新的 WPF4 Beta2 框架的一些 DLL。但是,我所拥有的只是所有类型的空方法。对于其他 DLL(例如 mscorlib),我没有遇到此问题。
您知道是什么导致了这种行为吗?这与类型转发有关吗(我知道某些 WPF 类型已移至 System.Xaml.dll 中)。
I'm trying to disassemble some of the DLL of the new WPF4 Beta2 framework. However, all I have is empty methods for all types. I'm not having this problem for other DLL (for example mscorlib).
Do you have any idea what is causing this behavior ? Is this anything to do with type forwarding (I know that some WPF types have moved in System.Xaml.dll).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
实际上我发现了问题(但是我不太明白......),我没有使用正确的DLL。
我在 C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0 中使用 DLL,而我应该使用 C:\Windows\Microsoft.NET\Framework\v4.0.21006\WPF
Actually I found the problem (however I don't really understand it...), I was not using the right DLL.
I was using DLL in C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0 whereas I should use C:\Windows\Microsoft.NET\Framework\v4.0.21006\WPF
我个人不确定,但 Red-Gate 确实有一个关注 Reflector 的小组:http://www.red-gate.com/messageboard/viewforum.php?f=85 如果您很快没有收到任何回复,您可以尝试在那里发帖。
I personally am not sure, but Red-Gate does have a group they watch for Reflector:http://www.red-gate.com/messageboard/viewforum.php?f=85 you might try posting there if you don't hear anything back soon.
我认为问题在于这依赖于 .NET 4.0 的一些新功能。对这些的支持刚刚添加到最新的 Reflector 早期访问版本中,您可以从此处下载:
http://www.red-gate.com/messageboard/viewtopic.php?t=10835
I would imagine that the problem is the fact that this relies on some of the new features of .NET 4.0. Support for these has just been added to the latest early access build of Reflector, which you can download from here:
http://www.red-gate.com/messageboard/viewtopic.php?t=10835