Table of Contents

Class SolutionPlatformPart

Namespace
Stride.Core.Assets
Assembly
Stride.Core.Assets.dll

Class SolutionAlternativePlatform.

public class SolutionPlatformPart
Inheritance
SolutionPlatformPart
Derived

Constructors

SolutionPlatformPart()

Initializes a new instance of the SolutionPlatformPart class.

public SolutionPlatformPart()

SolutionPlatformPart(string)

Initializes a new instance of the SolutionPlatformPart class.

public SolutionPlatformPart(string name)

Parameters

name string

The name.

Exceptions

ArgumentNullException

name

Properties

Alias

Gets or sets the name of the alias. If != null, then this platform is only available in the solution and remapped to the platform with this Alias

public string Alias { get; set; }

Property Value

string

The name of the alias.

Configurations

Gets the configurations supported by this platform (by default contains 'Debug' and 'Release')

public SolutionConfigurationCollection Configurations { get; }

Property Value

SolutionConfigurationCollection

Cpu

Gets or sets the CPU name, if this platform is CPU specific.

public string Cpu { get; set; }

Property Value

string

The CPU name.

DisplayName

Gets or sets the display name. If null, use the Name.

public string DisplayName { get; set; }

Property Value

string

The display name.

ExecutableProjectName

public string ExecutableProjectName { get; set; }

Property Value

string

IncludeInSolution

public bool IncludeInSolution { get; set; }

Property Value

bool

InheritConfigurations

Gets or sets a value indicating whether inherit configurations from parent SolutionPlatform

public bool InheritConfigurations { get; set; }

Property Value

bool

true if [inherit configurations]; otherwise, false.

LibraryProjectName

public string LibraryProjectName { get; set; }

Property Value

string

Name

Gets or sets the name of the alternative platform.

public string Name { get; set; }

Property Value

string

The name.

SafeSolutionName

Gets the name of the solution from SolutionName, using Name as a fallback.

public string SafeSolutionName { get; }

Property Value

string

The name of the safe solution.

SolutionName

Gets or sets the solution name. If null, use the Name

public string SolutionName { get; set; }

Property Value

string

The name.

UseWithExecutables

public bool UseWithExecutables { get; set; }

Property Value

bool

UseWithLibraries

public bool UseWithLibraries { get; set; }

Property Value

bool

Methods

GetProjectName(ProjectType)

Gets the name of the project configuration from Alias, with SafeSolutionName as a fallback.

public string GetProjectName(ProjectType projectType)

Parameters

projectType ProjectType

Returns

string

The name of the safe solution.

IsProjectHandled(ProjectType)

Determines whether the project is handled by this platform.

public bool IsProjectHandled(ProjectType projectType)

Parameters

projectType ProjectType

Type of the project.

Returns

bool

true if the project is handled by this platform; otherwise, false.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.