From fb7a73e285c1d3085c868f9e4f3f67424a8548e7 Mon Sep 17 00:00:00 2001 From: Michael Becker Date: Sat, 20 Apr 2024 13:28:25 -0400 Subject: [PATCH] update references --- editor-dotnet/src/app/MBS.Editor/MBS.Editor.csproj | 2 ++ editor-dotnet/src/app/MBS.Editor/Program.cs | 2 +- .../lib/MBS.Editor.UserInterface/EditorApplication.cs | 10 +++++++++- .../MBS.Editor.UserInterface.csproj | 5 +++++ 4 files changed, 17 insertions(+), 2 deletions(-) diff --git a/editor-dotnet/src/app/MBS.Editor/MBS.Editor.csproj b/editor-dotnet/src/app/MBS.Editor/MBS.Editor.csproj index 7878798..c84f015 100644 --- a/editor-dotnet/src/app/MBS.Editor/MBS.Editor.csproj +++ b/editor-dotnet/src/app/MBS.Editor/MBS.Editor.csproj @@ -3,6 +3,8 @@ + + diff --git a/editor-dotnet/src/app/MBS.Editor/Program.cs b/editor-dotnet/src/app/MBS.Editor/Program.cs index a7e190d..5bde512 100644 --- a/editor-dotnet/src/app/MBS.Editor/Program.cs +++ b/editor-dotnet/src/app/MBS.Editor/Program.cs @@ -1,3 +1,3 @@ using MBS.Editor.UserInterface; -(new EditorApplication()).Start(); \ No newline at end of file +return (new EditorApplication()).Start(); \ No newline at end of file diff --git a/editor-dotnet/src/lib/MBS.Editor.UserInterface/EditorApplication.cs b/editor-dotnet/src/lib/MBS.Editor.UserInterface/EditorApplication.cs index 99168be..f9f2537 100644 --- a/editor-dotnet/src/lib/MBS.Editor.UserInterface/EditorApplication.cs +++ b/editor-dotnet/src/lib/MBS.Editor.UserInterface/EditorApplication.cs @@ -1,6 +1,14 @@ namespace MBS.Editor.UserInterface; -public class EditorApplication : MBS.Desktop.DesktopApplication +using MBS.Desktop; + +public class EditorApplication : DesktopApplication { + + protected override int StartInternal() + { + return 0; + } + } diff --git a/editor-dotnet/src/lib/MBS.Editor.UserInterface/MBS.Editor.UserInterface.csproj b/editor-dotnet/src/lib/MBS.Editor.UserInterface/MBS.Editor.UserInterface.csproj index fa71b7a..dd82f9d 100644 --- a/editor-dotnet/src/lib/MBS.Editor.UserInterface/MBS.Editor.UserInterface.csproj +++ b/editor-dotnet/src/lib/MBS.Editor.UserInterface/MBS.Editor.UserInterface.csproj @@ -1,5 +1,10 @@  + + + + + net8.0 enable