Class ProjectReference
Represents a reference to an existing project.
Inherited Members
Namespace: Sdl.ProjectAutomation.Core
Assembly: Sdl.ProjectAutomation.Core.dll
Syntax
public class ProjectReference
Constructors
ProjectReference(string)
Creates a reference to an existing file-based project.
Declaration
public ProjectReference(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | The absolute path to the project file (*.sdlproj). |
ProjectReference(Uri)
Creates a reference to the project with the given URI.
Declaration
public ProjectReference(Uri uri)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri |
, where
is the absolute path of the project file (*.sdlproj). |
Properties
Uri
Gets the URI of the project.
Declaration
public Uri Uri { get; }
Property Value
| Type | Description |
|---|---|
| Uri |
Remarks
For file-based projects, this URI should be of the form
file://PROJECT_FILE_PATH
, where
PROJECT_FILE_PATH
is the absolute path of the project file (*.sdlproj).