Interface IBuildInfo
The Build Info defines common properties for a build.
Namespace: Microsoft.MixedReality.Toolkit.Build.Editor
Assembly: cs.temp.dll.dll
Syntax
public interface IBuildInfo
Properties
AutoIncrement
Should the build auto increment the build version number?
Declaration
bool AutoIncrement { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
AutoIncrement
Should the build auto increment the build version number?
Declaration
bool AutoIncrement { get; set; }
Property Value
| Type | Description |
|---|---|
| Boolean |
BuildOptions
Build options to include in the Unity player build pipeline.
Declaration
BuildOptions BuildOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| BuildOptions |
BuildOptions
Build options to include in the Unity player build pipeline.
Declaration
BuildOptions BuildOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| BuildOptions |
BuildPlatform
The build platform (i.e. x86, x64)
Declaration
string BuildPlatform { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
BuildPlatform
The build platform (i.e. x86, x64)
Declaration
string BuildPlatform { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
BuildSymbols
The symbols associated with this build.
Declaration
string BuildSymbols { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
BuildSymbols
The symbols associated with this build.
Declaration
string BuildSymbols { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
BuildTarget
The build target.
Declaration
BuildTarget BuildTarget { get; }
Property Value
| Type | Description |
|---|---|
| BuildTarget |
BuildTarget
The build target.
Declaration
BuildTarget BuildTarget { get; }
Property Value
| Type | Description |
|---|---|
| BuildTarget |
ColorSpace
Optional parameter to set the player's ColorSpace
Declaration
ColorSpace? ColorSpace { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<ColorSpace> |
ColorSpace
Optional parameter to set the player's ColorSpace
Declaration
ColorSpace? ColorSpace { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<ColorSpace> |
Configuration
The build configuration (i.e. debug, release, or master)
Declaration
string Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Configuration
The build configuration (i.e. debug, release, or master)
Declaration
string Configuration { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
IsCommandLine
Is this build being issued from the command line?
Declaration
bool IsCommandLine { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
IsCommandLine
Is this build being issued from the command line?
Declaration
bool IsCommandLine { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
LogDirectory
The default location of log files generated by sub-processes of the build system.
Declaration
string LogDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Note that this different from the Unity flag -logFile, which controls the location of the Unity log file. This is specifically for logs generated by other processes that the MRTK build tools produces (for example, when msbuild.exe is involved)
LogDirectory
The default location of log files generated by sub-processes of the build system.
Declaration
string LogDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Note that this different from the Unity flag -logFile, which controls the location of the Unity log file. This is specifically for logs generated by other processes that the MRTK build tools produces (for example, when msbuild.exe is involved)
OutputDirectory
The directory to put the final build output.
Declaration
string OutputDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Defaults to "Application.dataPath/Builds/Platform Target/"
OutputDirectory
The directory to put the final build output.
Declaration
string OutputDirectory { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Remarks
Defaults to "Application.dataPath/Builds/Platform Target/"
PostBuildAction
A post-build action to raise after building the Unity player.
Declaration
Action<IBuildInfo, BuildReport> PostBuildAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IBuildInfo, BuildReport> |
PostBuildAction
A post-build action to raise after building the Unity player.
Declaration
Action<IBuildInfo, BuildReport> PostBuildAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IBuildInfo, BuildReport> |
PreBuildAction
A pre-build action to raise before building the Unity player.
Declaration
Action<IBuildInfo> PreBuildAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IBuildInfo> |
PreBuildAction
A pre-build action to raise before building the Unity player.
Declaration
Action<IBuildInfo> PreBuildAction { get; set; }
Property Value
| Type | Description |
|---|---|
| Action<IBuildInfo> |
Scenes
The list of scenes to include in the build.
Declaration
IEnumerable<string> Scenes { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<String> |
Scenes
The list of scenes to include in the build.
Declaration
IEnumerable<string> Scenes { get; set; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<String> |
ScriptingBackend
Optional parameter to set the scripting backend
Declaration
ScriptingImplementation? ScriptingBackend { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<ScriptingImplementation> |
ScriptingBackend
Optional parameter to set the scripting backend
Declaration
ScriptingImplementation? ScriptingBackend { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<ScriptingImplementation> |