An enumerated data type that determines where projects are built.
public enum class NodeAffinity
public enum NodeAffinity
type NodeAffinity =
Public Enum NodeAffinity
The project may be scheduled anywhere.
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.
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.)