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 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 the following:
-
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 6.5.
-
Visual Studio 2022 to use Tizen 4.0 and higher.
-
The latest Tizen Tools updates support Tizen Native and Web app creation and are provided with Tizen Studio version 4.5 and above. Make sure the same is installed or updated through Tizen package manager.
-
Make sure to set the Tool Path (Tizen SDK) in Tools > Options > Tizen > Tools with installed Tizen Studio path. Also, ensure to set the Google Chrome Path for Tizen Web App Debugging support.
Visual Studio Tools for Tizen works with all Visual Studio variations, including Community. Installing or re-installing Visual Studio with .NET desktop development, .NET Core cross-platform development, and desktop development with C++ toolsets is recommended.
-
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.
-
OpenJDK 12 and OpenJFX: OpenJDK 12 and OpenJFX Installation Guide.
Emulator requirements
Tizen Emulator for Visual Studio has the same requirements as the emulator in Tizen Studio. To check the detailed hardware and software requirements for Tizen Emulator, see Emulator Requirements.
Option 1
- 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 Visual Studio Tools for Tizen installation. For more information, see Hardware Accelerated Execution Manager.
NoteThis option will not be applicable to and will not work on AMD processors.
- Make sure Hyper-V is disabled (in Windows 10 or higher):
-
Input Control Panel on the Search box in Windows 10.
-
Click Control Panel > Programs and Features > Turn Windows features on or off.
-
Disable Hyper-V and click OK.
Additional note: make sure Virtual Machine Platform should be disabled as well to use HAXM.
-
Reboot the computer.
-
Option 2
-
Microsoft’s Hyper-V and the Windows Hypervisor Platform (WHPX). Hyper-V is a virtualization feature of Windows that makes it possible to run virtualized computer systems on a physical host computer.
-
Make sure Hyper-V is enabled (PowerShell in Windows 10 or higher):
-
Check the configuration
Get-WindowsOptionalFeature -FeatureName Microsoft-Hyper-V-All -Online
FeatureName : Microsoft-Hyper-V-All
DisplayName : Hyper-V
Description : Provides services and management tools for creating and running virtual machines and their resources.
RestartRequired : Possible
State : Disabled
CustomProperties : -
Enable Hyper-V & HypervisorPlatform
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All
Enable-WindowsOptionalFeature -Online -FeatureName HypervisorPlatform -All -
Reboot the computer.
-
Visual Studio Tools for Tizen installation
To use Tizen SDK tools, you must install Visual Studio Tools for Tizen extension and Baseline SDK.
NoteIf Tizen Studio is already installed on your computer, simply set Tizen Baseline SDK path to the existing SDK instead of reinstalling it.
Install the extension
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:
-
In the Visual Studio IDE menu, go to Tools > Extensions and Updates.
-
In the Visual Studio Marketplace, search for Tizen.
-
Click Download and close the Visual Studio IDE.
The installation starts.
The video below shows how Visual Studio Tools for Tizen is installed in windows:
Install Tizen Baseline SDK
After installing Visual Studio Tools for Tizen extension, you must set up Tizen Baseline SDK in the following ways:
-
In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Package Manager.
-
Select Install new Tizen SDK.
-
Read the license document and click I Agree.
-
Enter the root directory path where you want to install and click Next.
-
Tizen SDK installer is downloaded and the baseline SDK is installed automatically.
-
Finally, Tizen Package Manager installs Tizen SDK tools.
Set Tizen Baseline SDK path
NoteIf you downloaded Visual Studio Tools for Tizen extension from the Visual Studio Marketplace and installed it on your computer, skip this step.
You can use Tizen Package Manager to set up Tizen Baseline SDK path or each tool path directly:
-
To set up Tizen Baseline SDK path, refer to the following steps:
-
In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Package Manager.
-
Select Use installed Tizen SDK.
-
Enter the root directory of your existing Tizen Studio installation.
Note
If the installer gives a warning about your Tizen Studio version being too low, update Tizen Studio by using Tizen Package Manager after setting the tool path.
-
-
To set up each tool path directly, follow the steps below:
-
In the Visual Studio IDE menu, go to Tools > Options > Tizen > Tools.
-
Enter the root directory of your existing Tizen Studio installation in the Tool Path field.
The other tools paths are automatically set up.
-
The video below shows how to set the Baseline SDK path from Local PC on Visual Studio in windows:
Install Emulator images
If you do not have a real device, you can run applications in Tizen Emulator.
To download emulator images, you can use Tizen Package Manager or Tizen Emulator Manager:
-
To use Tizen Package Manager, follow the steps below:
-
In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Package Manager.
-
Select the profiles and versions you want to install and click Install.
-
-
To use Tizen Emulator Manager, follow the steps below:
Note
Tizen Emulator Manager shows the emulator images installation window only when no images are installed on your computer.
-
In the Visual Studio IDE menu, go to Tools > Tizen > Tizen Emulator Manager.
-
Select the profiles and versions you want to install and click OK.
-
Troubleshoot
If you encounter problems with the installation, refer to the following steps:
-
To check whether VSIX is installed correctly, check Visual Studio Tools for Tizen properties by selecting Tools > Extensions and Updates and searching for “Tizen”.
-
To make sure Baseline Tizen SDK is installed correctly, check the tool path by selecting Tools > Options > Tizen > Tools.
-
To check whether Tizen Project properties have been copied correctly, make sure that the
Tizen.NET.ProjectType.props
andTizen.NET.ProjectType.targets
files are located in theC:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\Tizen\VisualStudio
folder.