问题描述
我想要掌握System.Windows.Forms.dll版本2.0.50727.832 - 有没有人知道我可以在哪里找到它,没有安装相关版本的.NET Framework ?背景:客户刚刚报告了我的产品崩溃。我认为这是由于,这是在我正在运行的版本中修复的。
我想我知道如何解决这个错误,但是我可以肯定地知道可以将客户的DLL版本加载到Reflector并检查违规代码。
编辑:我不想让客户发送因为我不知道这样做是合法的。
好的,我已经弄清楚了,或至少我有版本2.0.50727.42:
- 从这里下载.NET 2.0安装程序:
- 打开
netframework20。 exe
在zip压缩工具中解压缩 - 运行
ms iexec / a netfx.msi / qb TARGETDIR =C:\Some-Folder
解压缩MSI - System.Windows.Forms.dll现在在
C:\Some-Folder\Win\Microsoft.NET\Framework\URTInstallPath
很酷。我现在可以在旧版本中看到微软的愚蠢的一个一个的错误,而不是我现在的版本。我可以放心地假设这个错误在客户的版本中,我现在知道我的解决方法可以为他工作。
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.
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.
这篇关于在哪里可以找到.NET Framework DLL的特定版本(在Reflector中检查)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!