Class UnityProjectInfo
A helper class to parse the state of the current Unity project.
Inherited Members
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. |