-
Notifications
You must be signed in to change notification settings - Fork 31
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.
- Visual Studio 2022 (17.0 or higher version)
-
Visual Studio Tools for Tizen (3.8.0.0 or higher version)
- Start Visual Studio 2022
- Choose Extensions > ManageExtensions. Or, type Extensionsin the search box and choose Manage Extensions.
- Type Tizen in the Search window and select Download of Visual Studio Tools for Tizen extension.
If you start VS after the above extension is installed, it automatically installs in the background.
- .NET6 SDK (6.0.0 or higher version)
- Visual Studio Code (17.0 or higher version)
-
Visual Studio Code Extension for Tizen (3.6.0.0 or higher version)
- Start Visual Studio Code
- Choose Extensions at the bottom of the Activity Bar.
- Type Tizen in the Search Extensions in Marketplace and install Tizen Extension.
- Choose View < Command Palette.
- Type Install Dotnet Workload and select.
- .NET6 SDK (6.0.0 or higher version)
- Visual Studio Tools for Tizen (1.5.0 or higher version)
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