Welcome to Visual Studio Code extension for Tizen
Visual Studio Code extension for Tizen (VS Code extension for Tizen) is a Visual Studio Code extension that enables you to develop Tizen .NET, Web and Native applications easily using Visual Studio Code.
Using VS Code extension for Tizen, you can:
- Create a project from templates.
- Edit code with IntelliSense.
- Build your project and get a Tizen application.
- Deploy your application to the device or emulator and run it.
- Debug your application.
- Remove your application from the device.
Prerequisites
The following prerequisites apply to the Tizen VS Code Extension:
The Tizen VS Code Extension supports the following operating systems:
- Windows 10 or later (64-bit)
- Ubuntu 20.04 LTS or later (64-bit)
- macOS 12 (Monterey) or later
Note: Unlike the previous Tizen VS Code Extension, this version does not require any pre-installed SDK tools.
All necessary components are automatically managed by the extension itself.
Running VS Code extension for Tizen through VSIX Installation
To run VS Code extension for Tizen through VSIX installation:
On the release tab, download the latest vscode-tizen-csharp-10.x.x. vsix release file.
Open Visual Studio Code.
On the Activity bar, click the Extensions icon (or press Ctrl + Shift + X).
The Extensions side bar opens.
On the Extensions side bar, click the ... (More) icon.
Select Install from VSIX.
Select the downloaded vscode-tizen-csharp-10.x.x. vsix file.
Using VS Code extension for Tizen
You can create and build a project, and deploy, run, and debug an application.
Creating Your First Tizen Project
To create a Tizen .NET project:
- Open Visual Studio Code.
- In the Activity Bar, click the Tizen Extension icon.
- In the Primary Sidebar, click Create Project under Actions.
- Select
dotnet as the Application Type.
- Choose the Platform version (for example, 10.0(TizenFX13))
- Choose the Target Device Type (for example, IOT).
- Select a Project Template (for example, TizenNUIApp).
- Enter a valid Project Name and Project Path.
- Click Create Project to generate the new Tizen project.
Building Your Project
To build your Tizen project:
- Open Visual Studio Code.
- In the Activity Bar, click the Tizen Extension icon.
- In the Primary Side Bar, click Build Project under Actions.
- Wait for the build process to complete.
- Check the build result in the Output view.
- The generated package file (
.tpk or .wgt) will appear in the project’s output directory.
Note:
If your project requires a signing certificate, ensure that a valid certificate profile is created before building.
Deploying and Running Your Application
To deploy and run your Tizen application:
- Open Visual Studio Code.
- Make sure a Tizen target (emulator or device) is running.
- In the Device Manager, select the desired target.
- In the Primary Side Bar, click Run Project under Actions.
- Wait for the deployment and execution to complete.
- The application will automatically launch on the selected target.
Debugging Your Application
To debug your Tizen application:
- Open Visual Studio Code and load your Tizen project.
- Ensure a Tizen target (emulator or device) is running.
- Set one or more breakpoints in your source code.
- In the Primary Side Bar, click Debug Project under Actions.
- Interact with the application UI to trigger the breakpoint.
Click here for more information on VSCode Tizen extension.