/baseaddress (C# Compiler Options)
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
The /baseaddress option lets you specify the preferred base address at which to load a DLL. For more information about when and why to use this option, see Improving Application Startup Time and Larry Osterman's WebLog.
The base address for the DLL. This address can be specified as a decimal, hexadecimal, or octal number.
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 SN.EXE with the -R option.
Open the project's Properties page.
Click the Build property page.
Click the Advanced button.
Modify the DLL Base Address property.
To set this compiler option programmatically, see BaseAddress.