Class ProjectReference
Represents a reference to an existing project.
Inheritance
System.Object
ProjectReference
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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 |
---|---|---|
System.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 |
---|---|---|
System.Uri | uri | The Uri of the project. For file-based projects, this URI should be of the form ,
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 |
---|---|
System.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).