⚠️ Beta / Prerelease Documentation - Subject to change. (Api version 19.0.0.1401 | Published on 2026-02-23 14:57:33)
Search Results for

    Show / Hide Table of Contents

    Class ProjectReference

    Represents a reference to an existing project.

    Inheritance
    object
    ProjectReference
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    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
    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
            The <xref href="Sdl.ProjectAutomation.Core.ProjectReference.Uri" data-throw-if-not-resolved="false"></xref> of the project.
            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).

    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).

    In this article
    Back to top Generated by DocFX