在哪里可以找到特定版本的 .NET Framework DLL(在 Reflector 中检查)
我想获取 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
好的,我已经弄清楚了,或者至少我已经弄清楚了 2.0.50727.42 版本:
netframework20.exe
并解压缩msiexec /a netfx.msi /qb TARGETDIR="C :\Some-Folder”
解压 MSIC:\Some-Folder\Win\Microsoft.NET\Framework\URTInstallPath
很酷。我现在可以在旧版本中看到微软愚蠢的差一错误,而在我当前的版本中却看不到。我可以放心地假设该错误也存在于客户的版本中,而且我现在确信我的解决方法将适用于他。
OK, I've figured it out, or at least I have for version 2.0.50727.42:
netframework20.exe
in a Zip tool and unzip itmsiexec /a netfx.msi /qb TARGETDIR="C:\Some-Folder"
to unpack the MSIC:\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.
让您的用户查看以下文件夹:
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