|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.|
Specifies a default base address when creating a DLL.
The default base address for a DLL is set by the .NET Framework.
Be aware that the lower-order word in this address is rounded. For example, if you specify 0x11110001, it is rounded to 0x11110000.
To complete the signing process for a DLL, use the –R option of the Strong Naming tool (Sn.exe).
This option is ignored if the target is not a DLL.
To set /baseaddress in the Visual Studio IDE
Have a project selected in Solution Explorer. On the Project menu, click Properties. For more information, see.
Click the Compile tab.
Modify the value in the DLL base address: box.
The DLL base address: box is read-only unless the target is a DLL.