Skip to content

Commit

Permalink
MAUI workload for Tizen (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
rookiejava authored and myroot committed Aug 25, 2022
1 parent d033d84 commit a5e4ac5
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Compatibility;

namespace MauiApp1
{
class Program : MauiApplication<Startup>
{
protected override void OnCreate()
{
base.OnCreate();
}

static void Main(string[] args)
{
var app = new Program();
app.Run(args);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.companyname.MauiApp1" version="1.0.0" api-version="8" xmlns="http://tizen.org/ns/packages">
<profile name="common" />
<ui-application appid="com.companyname.MauiApp1" exec="MauiApp1.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
<label>MauiApp1</label>
<icon>appicon.xhigh.png</icon>
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
</ui-application>
<shortcut-list />
<privileges>
<privilege>http://tizen.org/privilege/internet</privilege>
</privileges>
<dependencies />
<provides-appdefined-privileges />
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using Microsoft.Maui;
using Microsoft.Maui.Controls;
using Microsoft.Maui.Controls.Compatibility;

namespace MauiApp1
{
class Program : MauiApplication<Startup>
{
protected override void OnCreate()
{
base.OnCreate();
}

static void Main(string[] args)
{
var app = new Program();
app.Run(args);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.companyname.MauiApp1" version="1.0.0" api-version="8" xmlns="http://tizen.org/ns/packages">
<profile name="common" />
<ui-application appid="com.companyname.MauiApp1" exec="MauiApp1.dll" multiple="false" nodisplay="false" taskmanage="true" type="dotnet" launch_mode="single">
<label>MauiApp1</label>
<icon>appicon.xhigh.png</icon>
<metadata key="http://tizen.org/metadata/prefer_dotnet_aot" value="true" />
</ui-application>
<shortcut-list />
<privileges>
<privilege>http://tizen.org/privilege/internet</privilege>
</privileges>
<dependencies />
<provides-appdefined-privileges />
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
<ProjectReference Include="..\..\..\src\Graphics\src\Graphics.Skia\Graphics.Skia.csproj" />
</ItemGroup>

</Project>
</Project>
15 changes: 15 additions & 0 deletions src/Workload/Microsoft.NET.Sdk.Maui/WorkloadManifest.in.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,21 @@
"Microsoft.Maui.Essentials.Ref.tizen",
"Microsoft.Maui.Essentials.Runtime.tizen"
]
},
"maui-tizen": {
"description": ".NET MAUI SDK for Tizen",
"extends": [
"maui-core",
"tizen"
],
"packs": [
"Microsoft.Maui.Core.Ref.tizen",
"Microsoft.Maui.Core.Runtime.tizen",
"Microsoft.Maui.Controls.Ref.tizen",
"Microsoft.Maui.Controls.Runtime.tizen",
"Microsoft.Maui.Essentials.Ref.tizen",
"Microsoft.Maui.Essentials.Runtime.tizen"
]
}
},
"packs": {
Expand Down

0 comments on commit a5e4ac5

Please sign in to comment.