All Projects → Samsung → Tizen.NET

Samsung / Tizen.NET

Licence: other
Welcome to Tizen .NET

Programming Languages

C#
18002 projects
powershell
5483 projects
shell
77523 projects
Makefile
30231 projects

Tizen .NET

image

Tizen .NET is an advanced way to develop applications with .NET technology for Tizen OS.

Tizen .NET is :

Prerequisites

- Tizen SDK

- .NET 6 SDK

- Visual Studio 2022

- Tizen .NET Workload

This is an early preview of Tizen in .NET 6 not for production use. Expect breaking changes as this is still in development for .NET 6.

Getting Started with Visual Studio 2022

See here for more details.

Getting Started with CLI

1. Check the Tizen templates before creating a new Tizen Project

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

dotnet new --list
Template Name                                 Short Name      Language    Tags                  
--------------------------------------------  --------------  ----------  ----------------------
Console Application                           console         [C#],F#,VB  Common/Console        
Class Library                                 classlib        [C#],F#,VB  Common/Library        
Worker Service                                worker          [C#],F#     Common/Worker/Web     
MSTest Test Project                           mstest          [C#],F#,VB  Test/MSTest           
NUnit 3 Test Item                             nunit-test      [C#],F#,VB  Test/NUnit            
NUnit 3 Test Project                          nunit           [C#],F#,VB  Test/NUnit            
xUnit Test Project                            xunit           [C#],F#,VB  Test/xUnit            
*Tizen .NET Application**                    *tizen*          *[C#]*      *Tizen*
Razor Component                               razorcomponent  [C#]        Web/ASP.NET           
Razor Page                                    page            [C#]        Web/ASP.NET           
...

2. Creates a New Project

dotnet new tizen -n HelloTizenNet6

When the project is successfully created, the following files are created.

└── HelloTizenNet6
    ├── HelloTizenNet6.csproj
    ├── Main.cs
    ├── shared
    └── tizen-manifest.xml

This is a Tizen .NET app, not a .NET MAUI app. A .NET MAUI app that supports Tizen is currently under development and will be released as soon as possible.

3. Build the application

dotnet build 

When the project builds successfully, tizen app package (.tpk) is created as follows.

Microsoft (R) Build Engine version 16.10.0-preview-21181-07+073022eb4 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored /home/rookiejava/workspace/HelloTizenNet6/HelloTizenNet6.csproj (in 165 ms).
  You are using a preview version of .NET. See: https://aka.ms/dotnet-core-preview
  HelloTizenNet6 -> /home/rookiejava/workspace/HelloTizenNet6/bin/Debug/net6.0-tizen/HelloTizenNet6.dll
  TizenTpkFiles : shared/res/HelloTizenNet6.png
  TizenTpkFiles : tizen-manifest.xml
  HelloTizenNet6 is signed with Default Certificates!
  HelloTizenNet6 -> /home/rookiejava/workspace/HelloTizenNet6/bin/Debug/net6.0-tizen/com.companyname.HelloTizenNet6-1.0.0.tpk

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:04.83

4. Run the application

Unfortunately dotnet run is not yet integrated. So for now you need to use sdb to install the app.

sdb install bin/Debug/net6.0-tizen/com.companyname.HelloTizenNet6-1.0.0.tpk

Tizen emulators and devices that support .NET 6 have not yet been officially released, and we will announce a binary for testing soon.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].