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
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de