Assembly /baseaddress RRS feed

  • Question

  • Both the vbc and csc compilers provide a /baseaddress command line option.

    However, an assembly compiled with vbc or csc will not contain native code.

    Therefore, does setting the /baseaddress have any impact for assemblies written using these languages?  My understanding is that the concept of a base address exists for DLLs to avoid the operating system needed to modify the code in memory (fixups) if it is mapped at an address other than the base address.  I would think that there would be no fixups to perform for VB and C# assemblies.

    Maybe it affects the base address chosen if a ngen image is created?  (However, ngen is less of a concern.)

    Friday, May 1, 2009 1:11 AM


All replies