putting attributes into existing assemblies


Hi,

I was told that there is something called "Byte Code Engineering Library" for manipulation of Java Byte Code. Similar to that there is a "Microsoft Byte Code Engineering Library" (MBEL) for .NET. It is in the link given below.

   http://www.cs.arizona.edu/mbel

But the thing I was asking was in the "limitations" section of that library.It seems the internal structure of custom attributes in .NET is complex.

Can you specify some resources where I can find the internal structures & all those stuff about attributes in .NET assembly.

Thank You.



Answer this question

putting attributes into existing assemblies

  • A_Martin

    The tool you link to is for research purposes. Plus its based on the ECMA-335 but it may not be totally compliant to the product version of the .NET Framework

    Also search on the site www.gotdotnet.com I belive someone had released an open source IL Stream Reader (not sure if they suppled a writer as well).

    The documents for the internals actually install with Visual Studio. On my machine with VS2003 I can find these documents at the location
    [ C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Tool Developers Guide\docs ]

    They should be on your machine at the related location to your installation.

    Regards,
    Saurabh Nandu
    www.MasterCSharp.com
    www.AksTech.com

  • Gaurav Khera


    Hi,

              I have started reading the documentation that comes with installed .NET version.They contain a lot of information on the structure of assemblies and IL Assembly programming.

               I came across a set of APIs called RAIL : Runtime Assembly Instrumentation Library. Check out the link.

                          http://rail.dei.uc.pt

               It is similar to MBEL but has more features & it seems it is a high-level language API. It is in C#. They have implemented custom attributes.What are your thoughts & comments on that.

               Thank you.

  • putting attributes into existing assemblies