CommandLineArguments.PathMap Property

Definition

A list of pairs of paths. This stores the value of the command-line compiler option /pathMap:X1=Y1;X2=Y2... which causes a prefix of X1 followed by a path separator to be replaced by Y1 followed by a path separator, and so on for each following pair.

C#
public System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,string>> PathMap { get; }

Property Value

Remarks

This option is used to help get build-to-build determinism even when the build directory is different from one build to the next. The prefix matching is case sensitive.

Applies to

Producto Versiones
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 3.0.0, 3.1.0, 3.2.0, 3.2.1, 3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0, 3.10.0, 3.11.0, 4.0.1, 4.1.0, 4.12.2, 4.13.0