Installing Visual Studio Tools for Tizen

You need the following components on top of Visual Studio to make Visual Studio Tools for Tizen work:

  • VSIX

    Visual Studio extension for Tizen packaging

  • Tizen Baseline SDK

    The SDK is shared with the Tizen Studio, and it supports tools (such as Certificate Manager, Device Manager, Emulator, SDB, and on-demand rpm) for developing Tizen .NET applications.

Prerequisites

To work with Visual Studio Tools for Tizen, your computer must have:

  • At least 1.5 GB of available disk space
  • Visual Studio 2017 to use Tizen 4.0 and 5.0
  • Visual Studio 2019 to use Tizen 4.0 and higher

    Visual Studio Tools for Tizen works with all Visual Studio variations, including Community. Installing or re-installing Visual Studio with .NET desktop development and .NET Core cross-platform development toolsets is recommended.

    Visual Studio prerequisites

  • Java Development Kit (JDK)

    You must install Oracle Java Development Kit (JDK) 8 or OpenJDK 12 to use Tizen Baseline SDK. Make sure you download and install the EXACT version.

Emulator Requirements

The Tizen emulator for Visual Studio has the same requirements as the emulator in the Tizen Studio. To check the detailed hardware and software requirements for the Tizen emulator, see Emulator Requirements.

  • Intel® Hardware Acceleration Execution Manager (Intel® HAXM) speeds up the Tizen emulation on Intel-VT-enabled systems. The Intel® HAXM installation is started automatically as part of the Visual Studio Tools for Tizen installation. For more information, see Hardware Accelerated Execution Manager.
  • Make sure Hyper-V is disabled (in Windows® 10 or higher):
    1. In the Start menu, select Programs and Features.

      Programs and Features

    2. Select Turn Windows features on or off.
    3. Disable Hyper-V and click OK.

      Disable Hyper-V

    4. Reboot the computer.

Visual Studio Tools for Tizen Installation

To use the Tizen SDK tools, you must install the Visual Studio Tools for Tizen extension and the baseline SDK.

Note If the Tizen Studio is already installed in your computer, simply set the Tizen baseline SDK path to the existing SDK instead of reinstalling it.

Installing the Extension

The Visual Studio Tools for Tizen extension is registered in the Visual Studio Marketplace. You can install extensions from the Visual Studio Marketplace in the Visual Studio IDE.

  1. In the Visual Studio IDE menu, go to Tools > Extensions and Updates.
  2. In the Visual Studio Marketplace, search for Tizen.

    Marketplace

  3. Click Download and close the Visual Studio IDE.

    The installation starts.

Installing the Tizen Baseline SDK

After installing the Visual Studio Tools for Tizen extension, you must set up the Tizen baseline SDK:

  1. In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Package Manager.
  2. Select Install new Tizen SDK.

    Select new installation

  3. Read the license document and click I Agree.

    Agree to license details

  4. Enter the root directory path where you want to install and click Next.

    Set the installation path

    The Tizen SDK installer is downloaded and the baseline SDK is installed automatically.

    Installer download

    Baseline SDK installation

    Finally, the Tizen Package Manager installs the Tizen SDK tools.

    Tool installation

Setting the Tizen Baseline SDK Path

Note If you downloaded the Visual Studio Tools for Tizen extension from the Visual Studio Marketplace and installed it on your computer, skip this step.

You can use the Tizen Package Manager to set up the Tizen baseline SDK path or each tool path directly:

  • To set up the Tizen baseline SDK path:
    1. In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Package Manager.
    2. Select Use installed Tizen SDK.

      Baseline SDK Install

    3. Enter the root directory of your existing Tizen Studio installation.

      Baseline SDK Install

    Note If the installer gives a warning about your Tizen Studio version being too low, update the Tizen Studio by using the Tizen Package Manager after setting the tool path.
  • To set up each tool path directly:
    1. In the Visual Studio IDE menu, go to Tools > Options > Tizen > Tools.
    2. Enter the root directory of your existing Tizen Studio installation in the Tool Path field.

      Check the SDK tool path

      The other tools paths are automatically set up.

Installing Emulator Images

If you do not have a real device, you can run applications in the Tizen emulator.

To download emulator images, you can use the Tizen Package Manager or the Tizen Emulator Manager:

  • To use the Tizen Package Manager:
    1. In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Package Manager.
    2. Select the profiles and versions you want to install and click Install.

      Package Manager

  • To use the Tizen Emulator Manager:
    Note The Tizen Emulator Manager shows the emulator images installation window only when no images are installed on your computer.
    1. In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Emulator Manager.
    2. Select the profiles and versions you want to install and click OK.

      Emulator Manager

Troubleshooting

If you encounter problems with the installation:

  • To check whether VSIX is installed correctly, check the Visual Studio Tools for Tizen properties by selecting Tools > Extensions and Updates and searching for “Tizen”.

    Check VSIX

  • To make sure the baseline Tizen SDK is installed correctly, check the tool path by selecting Tools > Options > Tizen > Tools.

    Check the SDK tool path

  • To check whether Tizen Project properties have been copied correctly, make sure that the Tizen.NET.ProjectType.props and Tizen.NET.ProjectType.targets files are located in the C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Tizen\VisualStudio folder.

    Project Property