Skip to content

Commit 70e5f72

Browse files
committed
fixup! avalonia: enable IDE designer
1 parent 010ad44 commit 70e5f72

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/shared/Git-Credential-Manager/Program.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,15 @@ private static void AppMain(object o)
103103
}
104104
}
105105

106-
// Required for Avalonia designer
106+
// Required for the Avalonia designer
107107
static AppBuilder BuildAvaloniaApp() =>
108108
AppBuilder.Configure<AvaloniaApp>()
109+
#if NETFRAMEWORK
110+
.UseWin32()
111+
.UseSkia()
112+
#else
109113
.UsePlatformDetect()
114+
#endif
110115
.LogToTrace();
111116
}
112117
}

0 commit comments

Comments
 (0)