Skip to content

Commit dae3e41

Browse files
committed
MAUI workload for Tizen (#66)
1 parent 844d141 commit dae3e41

File tree

21 files changed

+148
-16
lines changed

21 files changed

+148
-16
lines changed

src/Essentials/src/Essentials-net6.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.Net.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.1;netstandard2.0;net6.0;$(MauiPlatforms)</TargetFrameworks>
44
<AssemblyName>Microsoft.Maui.Essentials</AssemblyName>

src/Templates/src/templates/maui-blazor/.template.config/template.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"$schema": "http://json.schemastore.org/template",
33
"author": "Microsoft",
4-
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Blazor" ],
4+
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Tizen", "Blazor" ],
55
"identity": "Microsoft.Maui.BlazorApp",
66
"groupIdentity": "Microsoft.Maui.BlazorApp",
77
"name": ".NET MAUI Blazor App",
8-
"description": "A project for creating a .NET MAUI application for iOS, Android, Mac Catalyst, and WinUI using Blazor",
8+
"description": "A project for creating a .NET MAUI application for iOS, Android, Mac Catalyst, WinUI, and Tizen using Blazor",
99
"shortName": "maui-blazor",
1010
"tags": {
1111
"language": "C#",

src/Templates/src/templates/maui-blazor/MauiApp1.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk.Razor">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net6.0-ios;net6.0-android;net6.0-maccatalyst</TargetFrameworks>
4+
<TargetFrameworks>net6.0-ios;net6.0-android;net6.0-maccatalyst;net6.0-tizen</TargetFrameworks>
55
<!-- <TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('windows')) and '$(MSBuildRuntimeType)' == 'Full'">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks> -->
66
<OutputType>Exe</OutputType>
77
<RootNamespace>MauiApp1</RootNamespace>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
using System;
2+
using Microsoft.Maui;
3+
using Microsoft.Maui.Controls;
4+
using Microsoft.Maui.Controls.Compatibility;
5+
6+
namespace MauiApp1
7+
{
8+
class Program : MauiApplication<Startup>
9+
{
10+
protected override void OnCreate()
11+
{
12+
base.OnCreate();
13+
}
14+
15+
static void Main(string[] args)
16+
{
17+
var app = new Program();
18+
app.Run(args);
19+
}
20+
}
21+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest package="com.companyname.MauiApp1" version="1.0.0" api-version="8" xmlns="http://tizen.org/ns/packages">
3+
<profile name="common" />
4+
<ui-application appid="com.companyname.MauiApp1" exec="MauiApp1.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
5+
<label>MauiApp1</label>
6+
<icon>appicon.xhigh.png</icon>
7+
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
8+
</ui-application>
9+
<shortcut-list />
10+
<privileges>
11+
<privilege>http://tizen.org/privilege/internet</privilege>
12+
</privileges>
13+
<dependencies />
14+
<provides-appdefined-privileges />
15+
</manifest>

src/Templates/src/templates/maui-contentpage-csharp/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json.schemastore.org/template",
33
"author": "Microsoft",
4-
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Xaml", "Code" ],
4+
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Tizen", "Xaml", "Code" ],
55
"identity": "Microsoft.Maui.CSharpContentPage",
66
"name": ".NET MAUI ContentPage (C#)",
77
"shortName": "maui-page-csharp",

src/Templates/src/templates/maui-contentpage-xaml/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json.schemastore.org/template",
33
"author": "Microsoft",
4-
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Xaml", "Code" ],
4+
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Tizen", "Xaml", "Code" ],
55
"identity": "Microsoft.Maui.XamlContentPage",
66
"name": ".NET MAUI ContentPage",
77
"shortName": "maui-page-xaml",

src/Templates/src/templates/maui-contentview-csharp/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json.schemastore.org/template",
33
"author": "Microsoft",
4-
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Xaml", "Code" ],
4+
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Tizen", "Xaml", "Code" ],
55
"identity": "Microsoft.Maui.CSharpContentView",
66
"name": ".NET MAUI ContentView (C#)",
77
"shortName": "maui-view-csharp",

src/Templates/src/templates/maui-contentview-xaml/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json.schemastore.org/template",
33
"author": "Microsoft",
4-
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Xaml", "Code" ],
4+
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Tizen", "Xaml", "Code" ],
55
"identity": "Microsoft.Maui.XamlContentView",
66
"name": ".NET MAUI ContentView",
77
"shortName": "maui-view-xaml",

src/Templates/src/templates/maui-lib/.template.config/template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json.schemastore.org/template",
33
"author": "Microsoft",
4-
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI" ],
4+
"classifications": [ "MAUI", "Android", "iOS", "macOS", "Mac Catalyst", "WinUI", "Tizen" ],
55
"identity": "Microsoft.Maui.MauiLib",
66
"groupIdentity": "Microsoft.Maui.Library",
77
"name": ".NET MAUI Class Library",

0 commit comments

Comments
 (0)