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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈