-baseaddress
Specifies a default base address when creating a DLL.
Syntax
-baseaddress:address
Arguments
Term | Definition |
---|---|
address |
Required. The base address for the DLL. This address must be specified as a hexadecimal number. |
Remarks
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 |
---|
1. Have a project selected in Solution Explorer. On the Project menu, click Properties. 2. Click the Compile tab. 3. Click Advanced. 4. Modify the value in the DLL base address: box. Note: The DLL base address: box is read-only unless the target is a DLL. |
See also
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem lại các vấn đề và yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn dành cho người đóng góp của chúng tôi.
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho