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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
5 deletions
-
samples/Sandbox/Program.cs
|
|
@ -4,12 +4,12 @@ namespace Sandbox |
|
|
{ |
|
|
{ |
|
|
public class Program |
|
|
public class Program |
|
|
{ |
|
|
{ |
|
|
static void Main(string[] args) |
|
|
static void Main(string[] args) => BuildAvaloniaApp() |
|
|
{ |
|
|
.StartWithClassicDesktopLifetime(args); |
|
|
|
|
|
|
|
|
|
|
|
public static AppBuilder BuildAvaloniaApp() => |
|
|
AppBuilder.Configure<App>() |
|
|
AppBuilder.Configure<App>() |
|
|
.UsePlatformDetect() |
|
|
.UsePlatformDetect() |
|
|
.LogToTrace() |
|
|
.LogToTrace(); |
|
|
.StartWithClassicDesktopLifetime(args); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|