BuildManager.AddCompilationDependency(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a string that represents a dependency that the build manager uses to help determine if a clean build is required.
public:
static void AddCompilationDependency(System::String ^ dependency);
public static void AddCompilationDependency (string dependency);
static member AddCompilationDependency : string -> unit
Public Shared Sub AddCompilationDependency (dependency As String)
Parameters
- dependency
- String
A string that represents a dependency.
Exceptions
The dependency
parameter is null
or an empty string.
The method was called after the Application_PreStartInit
stage of the application.
Remarks
The method must be called during the Application_PreStartInit
stage of the application.
Applies to
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk