Skip to content

Commit dbc89a5

Browse files
committed
Add uno hosting
1 parent 692e9fd commit dbc89a5

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

Shiny.sln

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "notifications", "notificati
120120
EndProject
121121
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "support", "support", "{F7AD08AA-DE04-4A88-AD31-C5BA3A4751A1}"
122122
EndProject
123+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shiny.Hosting.Uno", "src\Shiny.Hosting.Uno\Shiny.Hosting.Uno.csproj", "{4547E6DA-857E-4D0A-9BF9-DE82C8ED14DB}"
124+
EndProject
123125
Global
124126
GlobalSection(SolutionConfigurationPlatforms) = preSolution
125127
Debug|Any CPU = Debug|Any CPU
@@ -249,6 +251,10 @@ Global
249251
{AD01E72B-B53F-4E9A-83F1-F304840F830E}.Debug|Any CPU.Build.0 = Debug|Any CPU
250252
{AD01E72B-B53F-4E9A-83F1-F304840F830E}.Release|Any CPU.ActiveCfg = Release|Any CPU
251253
{AD01E72B-B53F-4E9A-83F1-F304840F830E}.Release|Any CPU.Build.0 = Release|Any CPU
254+
{4547E6DA-857E-4D0A-9BF9-DE82C8ED14DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
255+
{4547E6DA-857E-4D0A-9BF9-DE82C8ED14DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
256+
{4547E6DA-857E-4D0A-9BF9-DE82C8ED14DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
257+
{4547E6DA-857E-4D0A-9BF9-DE82C8ED14DB}.Release|Any CPU.Build.0 = Release|Any CPU
252258
EndGlobalSection
253259
GlobalSection(SolutionProperties) = preSolution
254260
HideSolutionNode = FALSE
@@ -288,6 +294,7 @@ Global
288294
{AD01E72B-B53F-4E9A-83F1-F304840F830E} = {F7AD08AA-DE04-4A88-AD31-C5BA3A4751A1}
289295
{47A57CFE-A1A8-407A-86FA-FA003D562C58} = {F7AD08AA-DE04-4A88-AD31-C5BA3A4751A1}
290296
{61751BE5-2EA0-43CF-A271-8DE24E934080} = {6374E4D9-1BD8-4880-B603-AFDEA8345D7E}
297+
{4547E6DA-857E-4D0A-9BF9-DE82C8ED14DB} = {6374E4D9-1BD8-4880-B603-AFDEA8345D7E}
291298
EndGlobalSection
292299
GlobalSection(ExtensibilityGlobals) = postSolution
293300
SolutionGuid = {135D86AF-4EC4-4AA0-BD06-75C410F3EA08}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<Project Sdk="Uno.Sdk/5.6.22">
2+
<PropertyGroup>
3+
<TargetFrameworks>net9.0;net9.0-ios18.0;net9.0-maccatalyst;net9.0-android35.0</TargetFrameworks>
4+
<UnoSingleProject>true</UnoSingleProject>
5+
<OutputType>Library</OutputType>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
9+
<UnoFeatures>Hosting;Storage</UnoFeatures>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<ProjectReference Include="..\Shiny.Core\Shiny.Core.csproj"/>
14+
</ItemGroup>
15+
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
using Microsoft.Extensions.Hosting;
2+
3+
namespace Shiny.Hosting.Uno;
4+
5+
public static class UnoExtensions
6+
{
7+
public static IHostBuilder AddShiny(this IHostBuilder hostBuilder)
8+
{
9+
return hostBuilder;
10+
}
11+
}
12+

0 commit comments

Comments
 (0)