diff --git a/app/Directory.Build.props b/app/Directory.Build.props new file mode 100644 index 0000000..f0a1673 --- /dev/null +++ b/app/Directory.Build.props @@ -0,0 +1,12 @@ + + + + + + true + true + true + + + diff --git a/app/InkForge.Desktop/Program.cs b/app/InkForge.Desktop/Program.cs index b5b9da6..aacfa5d 100644 --- a/app/InkForge.Desktop/Program.cs +++ b/app/InkForge.Desktop/Program.cs @@ -3,7 +3,9 @@ using Avalonia.ReactiveUI; using Avalonia.Threading; using InkForge.Common; +using InkForge.Common.ViewModels; using InkForge.Data; +using InkForge.Desktop.Views; using Microsoft.Extensions.DependencyInjection; @@ -35,6 +37,8 @@ static class Program mutableResolver.InitializeReactiveUI(); services.AddInkForge(); + + services.AddTransient, MainWindow>(); } private static void OnSetup(this IServiceCollection services, AppBuilder appBuilder)