The Tizen .NET framework allows you to easily and efficiently create applications for Tizen. Follow the instructions below to familiarize yourself with the Tizen .NET application development process. With the instructions, you can create and run the HelloWorld .NET MAUI application, which displays some text on the screen with a button.
The following example shows you how to create and configure a basic .NET MAUI application project for Tizen in Visual Studio. .NET MAUI project template includes all the files that make up the Tizen application.
To create a new .NET MAUI project:
You can see the updated dependencies with net6.0-tizen.
The building process performs a validation check and compiles your files. You must sign the application package with an author certificate when building the application.
Using the default certificate
If you do not need to upload your application to App Store, you can use a default certificate and deploy your application in the Emulator for testing purposes.
To use the default certificates,
Using the Samsung certificate
To create Samsung certificate:
In the Visual Studio toolbar, use the Debug Target drop-down to target the Framework to net6.0-tizen.
There are two different ways to build the application:
Tizen .NET applications are always deployed as installed packages. The package files have the .tpk file extension, and the process of generating a package is controlled by the manifest file. The .NET MAUI template contains the manifest file (tizen-manifest.xml) under the Platforms/Tizen/ folder.
After you have built the application, deploy and run it.
To run the application, you must first deploy it to the target: either a device or an emulator. Deploying means transferring the package file (.tpk) to the target and invoking the Tizen package manager to install it.
To deploy and run the application on the emulator:
If no applicable emulator instance exists, you can create one.