-
Notifications
You must be signed in to change notification settings - Fork 32
Installing Tizen .NET Workload
Kangho Hur edited this page Apr 26, 2022
·
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.6.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.
- Choose Tools > Options. Or, type Optionsin the search box and choose Tools > Options.
- Go to Tizen > Tools.
- Select Install Tizen Workload (Preview).
- .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