Skip to content

Installing Tizen .NET Workload

Jay Cho edited this page Jun 2, 2023 · 5 revisions

In this tutorial you will learn how to install Tizen .NET workload, which is essential for building Tizen .NET app with Visual Studio, Visual Studio Tooks for Tizen, and CLI.

1. Visual Studio

Prerequisites

  • Visual Studio 2022 (17.0 or higher version)
  • Visual Studio Tools for Tizen (3.8.0.0 or higher version)
    1. Start Visual Studio 2022
    2. Choose Extensions > ManageExtensions. Or, type Extensionsin the search box and choose Manage Extensions.
    3. Type Tizen in the Search window and select Download of Visual Studio Tools for Tizen extension.

Install Tizen .NET Workload

If you start VS after the above extension is installed, it automatically installs in the background.

2. Visual Studio Code

Prerequisites

Install Tizen .NET Workload

  1. Choose View < Command Palette.
  2. Type Install Dotnet Workload and select.

3. Command Line Interface (CLI)

Prerequisites

Install Tizen .NET Workload

You can install Tizen workload for .NET 6.0 by using the installer script.

  • On Linux / macOS:
curl -sSL https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.sh | sudo bash

if you want to install a specific version of Tizen.NET workload or install to a specific directory, use the following command:

curl -sSL https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.sh | bash /dev/stdin -v <version> -d <directory>
  • On Windows:
Invoke-WebRequest 'https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.ps1' -Proxy $env:HTTP_PROXY -ProxyUseDefaultCredentials -OutFile 'workload-install.ps1';
./workload-install.ps1 [-v <version>] [-d <directory>]

For an instance:

PS D:\workspace> Invoke-WebRequest 'https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1';

PS D:\workspace> .\workload-install.ps1
Installing Samsung.NET.Sdk.Tizen.Manifest-6.0.100/6.5.100-rc.1.114 to C:\Program Files\dotnet\sdk-manifests\6.0.100...
Installing Samsung.Tizen.Sdk/6.5.100-rc.1.114...
Installing Samsung.Tizen.Ref/6.5.100-rc.1.114...
Installing Samsung.Tizen.Templates/6.5.100-rc.1.114...
Installing Samsung.NETCore.App.Runtime.tizen/6.5.100-rc.1.114... 

You can see the Tizen workload as follows if it is properly installed.

PS D:\workspace> dotnet workload list

This command lists only workloads that were installed via `dotnet workload install` in this version of the SDK and not those that were installed via Visual Studio.

Installed Workload Ids
----------------------
maui
tizen

Use `dotnet workload search` to find additional workloads to install.

Updates are avaliable for the following workload(s): maui tizen. Run `dotnet workload update` to get the latest