CanonicalTrackedInputFiles.ComputeSourcesNeedingCompilation 方法

定义

此方法计算需要根据输出文件和输入的完全依赖项关系图来进行编译的源。This method computes the sources that need to be compiled based on the output files and the full dependency graph of inputs.

重载

ComputeSourcesNeedingCompilation()

此方法计算需要根据输出文件和输入的完全依赖项关系图来进行编译的源This method computes the sources that need to be compiled based on the output files and the full dependency graph of inputs

ComputeSourcesNeedingCompilation(Boolean)

此方法计算需要根据输出文件和输入的完全依赖项关系图来进行编译的源,并可选择搜索可能包含输入文件的子根的复合根标记This method computes the sources that need to be compiled based on the output files and the full dependency graph of inputs, optionally searching composite rooting markers for subroots that may contain input files

ComputeSourcesNeedingCompilation()

此方法计算需要根据输出文件和输入的完全依赖项关系图来进行编译的源This method computes the sources that need to be compiled based on the output files and the full dependency graph of inputs

public:
 cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ ComputeSourcesNeedingCompilation();
public Microsoft.Build.Framework.ITaskItem[] ComputeSourcesNeedingCompilation ();
member this.ComputeSourcesNeedingCompilation : unit -> Microsoft.Build.Framework.ITaskItem[]
Public Function ComputeSourcesNeedingCompilation () As ITaskItem()

返回

ITaskItem[]

需要编译的文件数组Array of files that need to be compiled

适用于

ComputeSourcesNeedingCompilation(Boolean)

此方法计算需要根据输出文件和输入的完全依赖项关系图来进行编译的源,并可选择搜索可能包含输入文件的子根的复合根标记This method computes the sources that need to be compiled based on the output files and the full dependency graph of inputs, optionally searching composite rooting markers for subroots that may contain input files

public:
 cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ ComputeSourcesNeedingCompilation(bool searchForSubRootsInCompositeRootingMarkers);
public Microsoft.Build.Framework.ITaskItem[] ComputeSourcesNeedingCompilation (bool searchForSubRootsInCompositeRootingMarkers);
member this.ComputeSourcesNeedingCompilation : bool -> Microsoft.Build.Framework.ITaskItem[]
Public Function ComputeSourcesNeedingCompilation (searchForSubRootsInCompositeRootingMarkers As Boolean) As ITaskItem()

参数

searchForSubRootsInCompositeRootingMarkers
Boolean

如果为 true,则搜索子根的复合根标记。If true, search composite rooting markers for subroots.

返回

ITaskItem[]

需要编译的文件数组Array of files that need to be compiled

适用于