mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class UnityProjectInfo

    A helper class to parse the state of the current Unity project.

    Inheritance
    Object
    UnityProjectInfo
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.MSBuild
    Assembly: cs.temp.dll.dll
    Syntax
    public class UnityProjectInfo

    Constructors

    UnityProjectInfo(IEnumerable<CompilationPlatformInfo>, String)

    Declaration
    public UnityProjectInfo(IEnumerable<CompilationPlatformInfo> availablePlatforms, string projectOutputPath)
    Parameters
    Type Name Description
    IEnumerable<CompilationPlatformInfo> availablePlatforms
    String projectOutputPath

    UnityProjectInfo(IEnumerable<CompilationPlatformInfo>, String)

    Declaration
    public UnityProjectInfo(IEnumerable<CompilationPlatformInfo> availablePlatforms, string projectOutputPath)
    Parameters
    Type Name Description
    IEnumerable<CompilationPlatformInfo> availablePlatforms
    String projectOutputPath

    Properties

    CSProjects

    Gets all the parsed CSProjects for this Unity project.

    Declaration
    public IReadOnlyDictionary<string, CSProjectInfo> CSProjects { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<String, CSProjectInfo>

    CSProjects

    Gets all the parsed CSProjects for this Unity project.

    Declaration
    public IReadOnlyDictionary<string, CSProjectInfo> CSProjects { get; }
    Property Value
    Type Description
    IReadOnlyDictionary<String, CSProjectInfo>

    Plugins

    Gets all the parsed DLLs for this Unity project.

    Declaration
    public IReadOnlyCollection<PluginAssemblyInfo> Plugins { get; }
    Property Value
    Type Description
    IReadOnlyCollection<PluginAssemblyInfo>

    Plugins

    Gets all the parsed DLLs for this Unity project.

    Declaration
    public IReadOnlyCollection<PluginAssemblyInfo> Plugins { get; }
    Property Value
    Type Description
    IReadOnlyCollection<PluginAssemblyInfo>

    UnityProjectName

    Gets the name of this Unity Project.

    Declaration
    public string UnityProjectName { get; }
    Property Value
    Type Description
    String

    UnityProjectName

    Gets the name of this Unity Project.

    Declaration
    public string UnityProjectName { get; }
    Property Value
    Type Description
    String

    Methods

    ExportSolution(String, String, String)

    Exports the project info into a solution file, and the CSProject files.

    Declaration
    public void ExportSolution(string solutionTemplateText, string projectFileTemplateText, string generatedProjectPath)
    Parameters
    Type Name Description
    String solutionTemplateText

    The solution file template text.

    String projectFileTemplateText

    The project file template text.

    String generatedProjectPath

    The output folder of the platform props.

    ExportSolution(String, String, String)

    Exports the project info into a solution file, and the CSProject files.

    Declaration
    public void ExportSolution(string solutionTemplateText, string projectFileTemplateText, string generatedProjectPath)
    Parameters
    Type Name Description
    String solutionTemplateText

    The solution file template text.

    String projectFileTemplateText

    The project file template text.

    String generatedProjectPath

    The output folder of the platform props.

    In This Article
    • Constructors
      • UnityProjectInfo(IEnumerable<CompilationPlatformInfo>, String)
      • UnityProjectInfo(IEnumerable<CompilationPlatformInfo>, String)
    • Properties
      • CSProjects
      • CSProjects
      • Plugins
      • Plugins
      • UnityProjectName
      • UnityProjectName
    • Methods
      • ExportSolution(String, String, String)
      • ExportSolution(String, String, String)
    Back to top Generated by DocFX