RichieHindle
RichieHindle

Reputation: 281705

Where to find a specific version of a .NET Framework DLL (to examine in 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.

Upvotes: 0

Views: 939

Answers (2)

RichieHindle
RichieHindle

Reputation: 281705

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.

Upvotes: 1

Joe Pitz
Joe Pitz

Reputation: 2464

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

Upvotes: 0

Related Questions