ProxyTargets Class

Definition

A cache hit can use this to instruct MSBuild to build the cheaper version of the targets that the plugin avoided running. For example, GetTargetPath is the cheaper version of Build.

MSBuild will build the proxy targets and assign their target results to the real targets the mapping points to. The proxy targets are left in the build result (i.e., both GetTargetPath and Build will appear in the build result). Real targets can be committed in which case msbuild only keeps the proxy target in the build result.

public ref class ProxyTargets
public class ProxyTargets
type ProxyTargets = class
Public Class ProxyTargets
Inheritance
ProxyTargets

Constructors

ProxyTargets(IReadOnlyDictionary<String,String>)

Properties

ProxyTargetToRealTargetMap

Mapping from proxy targets to real targets. Case insensitive.

Applies to