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
    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 required.

    Visual Studio 2017 Prerequisite

  • Java Development Kit (JDK) 8
    JDK 8 is needed to use the Tizen Baseline SDK. OpenJDK is not supported.

    Download the JDK 8 from the official Oracle Web site. Select the appropriate platform for your hardware architecture and Windows® version. Run the downloaded executable file and follow the displayed instructions.

Emulator Requirements

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) is required to speed up the Tizen emulation on Intel-VT-enabled systems. 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® 8 or later):

    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 baseline SDK.

If the Tizen Studio is already installed in your computer, you can just 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 Visual Studio Markekplatce. You can install extensions from the Visual Studio Marketplace in the Visual Studio IDE.

  1. Click Tools > Extensions and Updates... in the Visual Studio IDE.
  2. Search "Tizen" in Visual Studio Marketplace.

    Marketplace

  3. Click Download and then close Visual Studio IDE. The installation is started.

Alternatively, you can download the Visual Studio Tools for Tizen in Visual Studio Marketplate website.

Installing the Tizen Baseline SDK.

After installing extensions, you must set up the Tizen baseline SDK.

  1. Click  Tools > Tizen Tizen Package Manager in Visual Studio IDE.
  2. Select Install new Tizen SDK.

    InstallWizard1.png

  3. Read license document and click I Agree.

    InstallWizard2.png

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

    InstallWizard3.png

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

    InstallWizard4.png

    The baseline SDK is installed automatically.

    InstallWizard5.png

    Lastly, the Tizen Package Manager installs Tizen SDK Tools.

    InstallWizard6.png

 

Set the Tizen Baseline SDK Path

If you download the Visual Studio Tools for Tizen from the Visual Studio Markekplatce and install it on your computer, skip this step.

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

To use Tizen Package Package:

  1. Click the Tools > Tizen > Tizen Package Manager in the Visual Studio IDE.
  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. Select Tools > Options > Tizen > Tools in the Visual Studio IDE.

  2. Enter the root directory of your existing Tizen Studio installation in the Tool Path.

    Check the SDK tool path

  3. The other tools paths are automatically set up.

Installing Emulator Images

Although you don't have a real device, you can run an application through 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. Click the Tools > Tizen Tizen Package Manager in the Visual Studio IDE.
  2. Select profiles and versions that you want to install and click Install.

    Package Manager

To use Tizen Emulator Manager:

Note The Tizen Emulator Manager activates the installation window only when any emulator image is not installed on your computer.
  1. Click the Tools > Tizen > Tizen Emulator Manager in the Visual Studio IDE.
  2. Select profiles and versions that 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