Files
velopack/samples/CSharpUno/UnoSample/Platforms/Desktop/Program.cs
Steve Bilogan 4d1388fb5f 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>
2025-03-26 07:29:19 -07:00

22 lines
323 B
C#

using Uno.UI.Runtime.Skia;
namespace UnoSample;
public class Program
{
[STAThread]
public static void Main(string[] args)
{
App.InitializeLogging();
var host = SkiaHostBuilder.Create()
.App(() => new App())
.UseX11()
.UseLinuxFrameBuffer()
.UseMacOS()
.UseWindows()
.Build();
host.Run();
}
}