在哪里可以找到特定版本的 .NET Framework DLL(在 Reflector 中检查)

发布于 2024-08-03 05:22:31 字数 446 浏览 3 评论 0原文

我想获取 System.Windows.Forms.dll 的 2.0.50727.832 版本 - 有谁知道我可以在哪里找到它,无需安装相应版本的 .NET Framework?

背景:一位客户刚刚报告我的产品发生崩溃。我相信这是由于 .NET 框架早期版本中的错误造成的,这在我正在运行的版本中已修复。

我想我知道如何解决该错误,但我可以确定是否可以将客户版本的 DLL 加载到 Reflector 中并检查有问题的代码。

编辑:我不想要求客户发送它,因为我不确定这样做是否合法。

I'd like to get hold of version 2.0.50727.832 of System.Windows.Forms.dll - does anyone know where I can find it, without installing the correpsonding version of the .NET Framework?

Background: A customer has just reported a crash in my product. I believe it's due to a bug in a previous version of the .NET framework, which is fixed in the version I'm running.

I think I know how to work around the bug, but I could know for sure if I could load the customer's version of the DLL into Reflector and examine the offending code.

Edit: I'd rather not ask the customer to send it, because I don't know for certain that doing so would be legal.

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

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

发布评论

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

评论(2

飘过的浮云 2024-08-10 05:22:31

好的,我已经弄清楚了,或者至少我已经弄清楚了 2.0.50727.42 版本:

  • 从这里下载 .NET 2.0 安装程序:OldVersion.com
  • 在 Zip 工具中打开 netframework20.exe 并解压缩
  • 运行 msiexec /a netfx.msi /qb TARGETDIR="C :\Some-Folder” 解压 MSI
  • System.Windows.Forms.dll 现在位于 C:\Some-Folder\Win\Microsoft.NET\Framework\URTInstallPath

很酷。我现在可以在旧版本中看到微软愚蠢的差一错误,而在我当前的版本中却看不到。我可以放心地假设该错误也存在于客户的版本中,而且我现在确信我的解决方法将适用于他。

OK, I've figured it out, or at least I have for version 2.0.50727.42:

  • Download the .NET 2.0 installer from here: OldVersion.com
  • Open netframework20.exe in a Zip tool and unzip it
  • Run msiexec /a netfx.msi /qb TARGETDIR="C:\Some-Folder" to unpack the MSI
  • System.Windows.Forms.dll is now in C:\Some-Folder\Win\Microsoft.NET\Framework\URTInstallPath

Cool. I can now see Microsoft's silly off-by-one bug in the old version, and not in my current version. I can safely assume that the bug is in the customer's version as well, and I now know for sure that my workaround will work for him.

ゞ记忆︶ㄣ 2024-08-10 05:22:31

让您的用户查看以下文件夹:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

dll 应该在那里,您可以让他们使用属性对话框来检查版本。

谢谢

Have your user look in the following folder:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727

The dll should be there, you can have them use the properties dialog to check the version.

Thanks

Joe

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