Modifica

Condividi tramite


BuildManager.AddCompilationDependency(String) Method

Definition

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