Refferenced by projects .net 4.0 assemblies have no IL. How? and What for?

Posted by er-v on Stack Overflow See other posts from Stack Overflow or by er-v
Published on 2010-04-27T09:43:41Z Indexed on 2010/05/01 9:27 UTC
Read the original article Hit count: 414

Filed under:
|

There is something I don't understand. Today I desided to find out what is inside Sistem.Web.dll version 4.0.0.0 So I decided to find the place where this assembly located.

alt text

and opened this assembly with reflector - all methods were empty - and then with ilDasm from 7.0 SDK. This what I saw

alt text

After some research I've found fullfeatured assemblies in gac. Actualy here

C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Web\82087f17d3b3f9c493e7261d608a6af4

They are much larger in size. So why does references goes not to the gac, but to the C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.0\ Why don't they have IL inside? How does it works?

Mabe I don't understand something.

© Stack Overflow or respective owner

Related posts about .net-4.0

Related posts about assemblies