/baseaddress (Specify Base Address of DLL)
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

/baseaddress (Specify Base Address of DLL)



The base address for the DLL. This address can be specified as a decimal, hexadecimal, or octal number.


The /baseaddress option lets you specify the preferred base address at which to load a DLL. The default base address for a DLL is set by the .NET Framework common language runtime.

Be aware that the lower-order word in this address will be rounded. For example, if you specify 0x11110001, it will be rounded to 0x11110000.

To complete the signing process for a DLL, use –R of SN.EXE.

To set this compiler option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C# Project Properties.
  2. Click the Configuration Properties folder.
  3. Click the Advanced property page.
  4. Modify the Base Address property.

To set this compiler option programmatically

See BaseAddress Property.

See Also

C# Compiler Options

© 2015 Microsoft