My Technical Notes

Monday, 22 April 2013

Decompiling System.Web.DynamicData.dll

This took me quite long even though it should be as easy as:

  1. Download and install a decompiler (such as ILSpy or Telerik JustDecompile)
  2. Decompile using the aforementioned decompiler.

Unfortunately it was not as simple as that for me because I tried decompiling the System.Web.DynamicData.dll found in


C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\System.Web.DynamicData.dll

This is the path to the dll of the System.Web.DynamicData dll reference in you DynamicData project. Reference dlls under \Program Files\Reference Assemblies\ generally are metadata-only versions of the assemblies. Instead we need to look at the dlls under \Windows\Microsoft.Net\Framework folder which contain the full assemblies.

Therefore the correct dll to look at is found at:


C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Web.DynamicData.dll

The source of this information was a StackOverflow Answer on Reflector Not Decompiling....

No comments: