Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Injecting assembly attributes into assemblies created from .NET modules using al or link

$
0
0

The assembly linker (al) has various options for injecting specific assembly attributes into its output assembly (e.g. /company etc.).  However I cannot find a way of injecting other arbitrary assembly attributes.  The /template option looks as if it might be able to do this (by copying metadata from an existing assembly), but it does not appear to work like that.

Similarly, link.exe enables me to create a single monolithic assembly from a set of .NET modules, but again I cannot find a way of putting assembly attributes into the resulting assembly.

Am I missing something, or will I have to resort to using ILDASM, adding the attributes, and then using ILASM?


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>