Udostępnij za pośrednictwem


NodeAffinity Enum

Definition

Controls where projects must be built.

public enum class NodeAffinity
public enum NodeAffinity
type NodeAffinity = 
Public Enum NodeAffinity
Inheritance
NodeAffinity

Fields

Name Value Description
InProc 0

The project may only be scheduled on the in-proc node. This happens automatically if there is a host object or if a ProjectInstance was specified. A host may wish to specify it if they know a task depends explicitly on shared static data or other host-provided objects.

OutOfProc 1

The project may only be scheduled on an out-of-proc node. A host may wish to specify this if it is known the project being built could contaminate the host environment (or the host contaminates the environment while a build is proceeding.)

Any 2

The project may be scheduled anywhere.

Applies to