IBuildEngine9.RequestCores(Int32) Method

Definition

If a task launches multiple parallel processes, it should ask how many cores it can use.

C#
public int RequestCores(int requestedCores);

Parameters

requestedCores
Int32

The number of cores a task can potentially use.

Returns

The number of cores a task is allowed to use.

Applies to

Produit Versions
MSBuild 16, 17
MSBuild (.NET Core) 16, 17