chore: update uno sample app with latest (#584)

* chore: update uno sample app with latest

* Cleaning up UnoSample to use SampleHelper

Updated the top level Directory.Build.targets to support samples with solutions and nested directories.
Added build scripts.

* Adding Uno sample to GHA

* Remove framework bootstrap

* Fixing mainExe name on non-windows

---------

Co-authored-by: Kevin Bost <kitokeboo@gmail.com>
This commit is contained in:
Steve Bilogan
2025-03-26 07:29:19 -07:00
committed by GitHub
parent 57cf68d127
commit 4d1388fb5f
58 changed files with 389 additions and 1335 deletions

View File

@@ -1,28 +1,17 @@
<Application
x:Class="UnoSample.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:utum="using:Uno.Toolkit.UI.Material">
<Application x:Class="UnoSample.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!-- Load WinUI resources -->
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
<utum:MaterialToolkitTheme ColorOverrideSource="ms-appx:///Styles/ColorPaletteOverride.xaml">
<!-- NOTE: You can override the default Roboto font by providing your font assets here. -->
<!-- <utum:MaterialToolkitTheme.FontOverrideDictionary>
<ResourceDictionary>
<FontFamily x:Key="MaterialLightFontFamily">ms-appx:///Uno.Fonts.Roboto/Fonts/Roboto-Light.ttf#Roboto</FontFamily>
<FontFamily x:Key="MaterialMediumFontFamily">ms-appx:///Uno.Fonts.Roboto/Fonts/Roboto-Medium.ttf#Roboto</FontFamily>
<FontFamily x:Key="MaterialRegularFontFamily">ms-appx:///Uno.Fonts.Roboto/Fonts/Roboto-Regular.ttf#Roboto</FontFamily>
</ResourceDictionary>
</utum:MaterialToolkitTheme.FontOverrideDictionary>-->
</utum:MaterialToolkitTheme>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<!-- Load WinUI resources -->
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
</ResourceDictionary.MergedDictionaries>
<!-- Add resources here -->
<!-- Add resources here -->
</ResourceDictionary>
</Application.Resources>
</Application>