Browse Source

Merge pull request #6219 from AvaloniaUI/fixes/sandbox-designer

Make the designer work in the sandbox project.
pull/6229/head
Nikita Tsukanov 5 years ago
committed by GitHub
parent
commit
7c1a61bb7e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      samples/Sandbox/Program.cs

10
samples/Sandbox/Program.cs

@ -4,12 +4,12 @@ namespace Sandbox
{
public class Program
{
static void Main(string[] args)
{
static void Main(string[] args) => BuildAvaloniaApp()
.StartWithClassicDesktopLifetime(args);
public static AppBuilder BuildAvaloniaApp() =>
AppBuilder.Configure<App>()
.UsePlatformDetect()
.LogToTrace()
.StartWithClassicDesktopLifetime(args);
}
.LogToTrace();
}
}

Loading…
Cancel
Save