Skip to main content
Version: v4.5.0

Visual Studio

StackSpot Extension for Visual Studio extends STK CLI to MS Visual Studio 2022 and allows you to import stacks, create a StackSpot project, apply Plugins, and many more features.

For more details, see the Visual Studio extension development documentation.

Getting started

Prerequisites

Installation

This extension is available on Visual Studio Marketplace, but if you want to install it through the VSIX file, see below:

Usage

There are some ways to use this extension. See them below:

1. Update STK CLI

Step 1. On the Visual Studio splash screen, click Continue without code and then click View.
Step 2. Under View on the left side menu, click StackSpot Explorer.
Step 3. Inside StackSpot Explorer, click on the first icon on the left.
Step 4. At the output, run the stk-legacy upgrade command to upgrade the STK CLI version.

2. Import a Stack

Step 1. Click on View in the left side menu, and then click on StackSpot Explorer.
Step 2. In the StackSpot Explorer, click on the second icon on the left.
Step 3. Under Enter Stack GIT URL to Import, enter the Stack URL to import and then click on Import Stack.
Step 4. A terminal will open. In it, log in with your email.
Step 5. A tab will open in your browser, and allow access. After that, your device is authenticated.
Step 6. Close the tab and return to the terminal.

3. Create a new project

Step 1. In the Visual Studio splash screen, click Create a new project.
Step 2. On the left side of the page, select the StackSpot Wizard option, and then click the Next button.
Step 3. In the Configure your new project screen, check the information in the fields that are filled in:

  • Project name
  • Location
  • Solution name

Step 4. Next, click on the Create button, and then click Create App.
Step 5. On the next screen, click on the Apply Resource button.
Step 6. A terminal will open to run the template and project creation.
Step 7. Click on View and Stackspot Application Details to see the details of the project you created.

4. Apply a Plugin

Step 1. On the StackSpot Available Details screen, click on StackSpot Application Details in the lower right corner of the screen. Step 2. Click on the StackSpot Explorer Available Plugins button, and Stack API. Then, select the Plugin you want to apply. Step 3. On the next screen, click on the Apply Plugin, and Apply Resource buttons. A terminal will open to run the Plugin application.

Was this page helpful?