在哪里可以找到一个.NET框架DLL的特定版本(在反射检查) [英] Where to find a specific version of a .NET Framework DLL (to examine in Reflector)

查看:168
本文介绍了在哪里可以找到一个.NET框架DLL的特定版本(在反射检查)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想弄个版本的System.Windows.Forms.dll中的2.0.50727.832 - 没有人知道我在哪里可以找到它,的没有的安装.NET Framework的correpsonding版本?

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?

背景:一位顾客刚刚报道了我公司产品一个崩溃。我相信这是由于中的一个previous版本的错误。 .NET框架,它是固定在我运行的版本。

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.

我想我知道如何解决这个错误,但我可以肯定知道,如果我可以加载客户的版本的DLL到反射器和检查违规code。

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.

编辑:我宁愿不要求客户发送它,因为我不知道肯定,这样做是合法的。

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

推荐答案

好了,我理解了它,或者至少我有2.0.50727.42版:

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

    OldVersion.com:
  • 从这里下载.NET 2.0安装程序
  • 开启 netframework20.exe 在一个Zip工具,将它解压缩
  • 运行 MSIEXEC / A的Netfx.msi / QB TARGETDIR =C:\有些-文件夹解压MSI
  • 在System.Windows.Forms.dll中现在是在 C:\有些夹\ WIN \ Microsoft.NET \框架\ U​​RTInstallPath
  • 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

酷。我现在可以看到在旧版本的Microsoft的傻掉接一个的错误,而不是在我的当前版本。我可以肯定地认为该错误是在客户的版本,以及,我现在肯定知道我的解决办法会为他工作。

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.

这篇关于在哪里可以找到一个.NET框架DLL的特定版本(在反射检查)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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