NodeAffinity NodeAffinity NodeAffinity NodeAffinity Enum


An enumerated data type that determines where projects are built.

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


Any Any Any Any 2

The project may be scheduled anywhere.

InProc InProc InProc 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 OutOfProc OutOfProc 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.)

Applies to