共用方式為


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.

public:
 property System::Collections::Immutable::ImmutableArray<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> PathMap { System::Collections::Immutable::ImmutableArray<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> get(); };
public System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string,string>> PathMap { get; }
member this.PathMap : System.Collections.Immutable.ImmutableArray<System.Collections.Generic.KeyValuePair<string, string>>
Public ReadOnly Property PathMap As ImmutableArray(Of KeyValuePair(Of String, String))

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