ReferenceSearchPath Property of the Compiler Object

ReferenceSearchPath Property of the Compiler Object

Gets and sets the collection of directories that are searched for references during a compilation.

  [C#]
public SearchPathCollection ReferenceSearchPath {get; set;}

FakePre-f0234e84d5d34a4fa103325873e8b564-2652043e5bd84499a1db5e12d0887614

Remarks

Used to search for a referenced .sdmdocument file if the reference is not an absolute path or not found in the current directory.

Requirements

Namespace

Defined in Microsoft.SystemDefinitionModel.Tools.

Assembly

Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Compiler
Microsoft.SystemDefinitionModel.Tools
SearchPathCollection

Send comments about this topic to Microsoft

Build date: 10/2/2007