.net Reflector“未将对象引用设置为对象的实例”

发布于 2024-09-29 13:55:23 字数 276 浏览 0 评论 0原文

我正在使用 .net Reflector 查看一些 .net Compact Framework .dll,其中之一出现“对象引用未设置为对象实例”错误。我下载了 9Rays.Spices.Net 的试用版,它加载了 .dll,效果很好。唯一的问题是我只得到了所有其他方法。

我能够从程序集中提取所有 MSIL,但它超过 20,000 行!除了 .net Reflector 或 MSIL 到 C# 转换器之外,还有其他选择吗?或者有谁知道如何修复“对象引用未设置到对象的实例”错误?

任何帮助都会很好:)

I'm working with .net Reflector to view some .net Compact Framework .dlls and I'm getting an "Object reference not set to an instance of an object" error for one of them. I downloaded the trial version of 9Rays.Spices.Net and it loaded the .dll just fine. The only problem is that I'm getting only every other method.

I was able to extract all of the MSIL from the assembly, but it's over 20,000 lines! Is there any alternative to .net Reflector or an MSIL to C# translator? Or does anyone know how to fix the "Object reference not set to an instance of an object" error?

Any help would be excellent :)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

耶耶耶 2024-10-06 13:55:23

等等,我发现 DLL 本身已损坏。由于 Spices.Net 更加强大,它知道如何处理它。我刚刚修复了 DLL 中的损坏,一切都运行良好!

Blah, I found that the DLL itself was corrupt. Since Spices.Net is more robust, it knew how to handle it. I just fixed the corruption in the DLL and everything worked great!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文