다음을 통해 공유


BuildableItem Class

Definition

Represents a buildable item, like a csproj or CMakeLists.txt file.

public ref class BuildableItem
public class BuildableItem
type BuildableItem = class
Public Class BuildableItem
Inheritance
BuildableItem

Constructors

BuildableItem(String, String, BuildableKind, Boolean, Boolean, String, IReadOnlyDictionary<BuildAction,BuildAvailabilityProperty>, IReadOnlyList<LaunchProfile>)

Initializes a new instance of the BuildableItem class.

Properties

ActiveLaunchProfileId

Gets the Id of the active LaunchProfile.

BuildableKind

Gets the kind (i.e. the variety) of the buildable item.

BuildActionAvailability

Gets the availability of the various build actions.

DisplayName

Gets the name for the buildable item that is suitable for display to a user. This display name will be used to populate the Startup Projects (solution view) and Startup Items (folder view) drop-downs.

Id

Gets the identity of the buildable item. Case-insensitive. This identity can be: One of the WellKnownBuildableItemIds; OR, for files found in an opened folder, this value is the Microsoft.VisualStudio.Workspace.ProjectConfiguration.Id; OR, for projects from a loaded solution, this value is the project's GUID and can be used with APIs that request the project GUID.

IsStartupItem

Gets a value indicating whether the buildable item is a selected project or file that should be displayed to the user as an item that will be launched (possibly with a debugger attached) when the Launch or Debug command is invoked.

LaunchProfiles

Gets the buildable item's launch profiles.

SupportsLaunch

Gets a value indicating whether the buildable item supports launch (e.g. debug) operations.

Applies to