Merge remote-tracking branch 'origin/master' into tizen
[platform/core/csapi/tizenfx.git] / README.md
1 # TizenFX
2
3 [![License](https://img.shields.io/badge/licence-Apache%202.0-brightgreen.svg?label=License&style=flat-square)](LICENSE)
4 [![Build](https://img.shields.io/github/workflow/status/Samsung/TizenFX/Build%20Branches/master?label=Build&style=flat-square)](https://github.com/Samsung/TizenFX/actions?query=workflow%3A%22Build+Branches%22+branch%3Amaster)
5
6 TizenFX API, which allows you to access platform-specific features not covered by the generic .NET and .NET MAUI features, such as system information and status, battery status, sensor date, and account and connectivity services.
7
8 ## Branches
9
10 | Branch | API Level | Target Framework | API Reference | Platform          | myget.org | nuget.org  |
11 |--------|:---------:|------------------|---------------|-------------------|-----------|------------|
12 |master  | 11        | tizen11.0 | [Link](https://samsung.github.io/TizenFX/master/) | Tizen vNext | [![api11_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API11.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) |  |
13 |API10   | 10        | tizen10.0 | [Link](https://samsung.github.io/TizenFX/API10/) | Tizen 7.0 | [![api10_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API10.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api10_nuget](https://img.shields.io/nuget/v/Tizen.NET.API10.svg)](https://www.nuget.org/packages/Tizen.NET/) |
14 |API9    | 9         | tizen90   | [Link](https://samsung.github.io/TizenFX/API9/) | Tizen 6.5 | [![api9_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API9.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api9_nuget](https://img.shields.io/nuget/v/Tizen.NET.API9.svg)](https://www.nuget.org/packages/Tizen.NET/) |
15 |API8    | 8         | tizen80   | [Link](https://samsung.github.io/TizenFX/API8/) | Tizen 6.0 | [![api8_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API8.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api8_nuget](https://img.shields.io/nuget/v/Tizen.NET.API8.svg)](https://www.nuget.org/packages/Tizen.NET/) |
16 |API7    | 7         | tizen70   | [Link](https://samsung.github.io/TizenFX/API7/) | Tizen 5.5 M3 | [![api7_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API7.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api7_nuget](https://img.shields.io/nuget/v/Tizen.NET.API7.svg)](https://www.nuget.org/packages/Tizen.NET/) |
17 |API6    | 6         | tizen60   | [Link](https://samsung.github.io/TizenFX/API6/) | Tizen 5.5 M2 | [![api6_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API6.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api6_nuget](https://img.shields.io/nuget/v/Tizen.NET.API6.svg)](https://www.nuget.org/packages/Tizen.NET/) |
18 |API5    | 5         | tizen50   | [Link](https://samsung.github.io/TizenFX/API5/) | Tizen 5.0       | [![api5_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API5.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api5_nuget](https://img.shields.io/nuget/v/Tizen.NET.API5.svg)](https://www.nuget.org/packages/Tizen.NET/) |
19 |API4    | 4         | tizen40   | [Link](https://samsung.github.io/TizenFX/API4/) | Tizen 4.0         | [![api4_myget](https://img.shields.io/tizen.myget/dotnet/vpre/Tizen.NET.API4.svg)](https://tizen.myget.org/feed/dotnet/package/nuget/Tizen.NET) | [![api4_nuget](https://img.shields.io/nuget/v/Tizen.NET.API4.svg)](https://www.nuget.org/packages/Tizen.NET/) |
20
21 ### master
22 The __master__ branch is the main development branch for the Tizen .NET __API Level 11__.
23
24 The following NuGet packages will be published to [Tizen MyGet Gallery](https://tizen.myget.org/gallery/dotnet) every day if there are any changes. (Nightly Build)
25 * Tizen.NET 11.0.0.#####
26 * Tizen.NET.API11 11.0.0.#####
27 * Tizen.NET.Internals 11.0.0.#####
28
29 And, This branch is pushed to the [tizen branch](https://git.tizen.org/cgit/platform/core/csapi/tizenfx/?h=tizen) in the tizen gerrit and submitted for the Tizen vNext platform.
30
31 ### API4 ~ API10 branches
32 The __API#__ branches are the release branch for Tizen .NET __API Level #__.
33
34 These release branches were __FROZEN__. No new public APIs can be added to these branches, only bug fixes and internal APIs can be added.
35
36 ## Using `tizen` target framework
37 If you want to use the `tizen` target framework, you need to use `Tizen.NET.Sdk` package as the project sdk.
38 ```xml
39 <Project Sdk="Tizen.NET.Sdk/1.1.9">
40   <PropertyGroup>
41     <TargetFramework>tizen11.0</TargetFramework>
42   </PropertyGroup>
43 </Project>
44 ```
45 For more information, please see [Using Tizen.NET.Sdk as SDK-style](https://developer.samsung.com/tizen/blog/en-us/2019/06/13/using-tizennetsdk-as-sdk-style).
46
47 ### Minimum required versions of Tizen.NET.Sdk and Visual Studio
48 | API Level | Target Framework | Tizen.NET.Sdk | Visual Studio     |
49 |:---------:|------------------|---------------|-------------------|
50 | API11     | tizen11.0        | 1.1.10 (not yet) | 2022           |
51 | API10     | tizen10.0        | 1.1.9 (recommend) | 2019          |
52 | API9      | tizen90          | 1.1.7         | 2019              |
53 | API8      | tizen80          | 1.1.6         | 2019              |
54 | API7      | tizen70          | 1.0.9         | 2019              |
55 | API6      | tizen60          | 1.0.9         | 2019              |
56 | API5      | tizen50          | 1.0.1         | 2017              |
57 | API4      | tizen40          | 1.0.1         | 2017              |
58
59
60 ## Quick Start
61 ### Prerequisites
62 Install .NET Core SDK : https://www.microsoft.com/net/download/
63
64 ### Getting the sources
65 ```bash
66 git clone https://github.com/Samsung/TizenFX.git
67 cd TizenFX
68 ```
69 ### How to build
70 ```bash
71 ./build.sh full
72 ./build.sh pack
73 ```
74
75 ## Tizen Project
76 TizenFX is a part of the [Tizen project](https://www.tizen.org).
77 You can download the latest binaries with TizenFX from the link below :
78
79 | Tizen Version     | Link |
80 |-------------------|------|
81 | Tizen 4.0         | http://download.tizen.org/snapshots/tizen/4.0-unified/latest/ |
82 | Tizen 5.0         | http://download.tizen.org/snapshots/tizen/5.0-unified/latest/ |
83 | Tizen 5.5         | http://download.tizen.org/snapshots/tizen/5.5-unified/latest/ |
84 | Tizen 6.0         | http://download.tizen.org/snapshots/tizen/6.0-unified/latest/ |
85 | Tizen 6.5         | http://download.tizen.org/snapshots/tizen/unified/latest/     |