From 86cd39e0c85e8d21ef9ce4e33d5717a1456a93cf Mon Sep 17 00:00:00 2001 From: Mili Date: Fri, 31 Mar 2023 20:47:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=9F=E6=88=90=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E5=92=8C=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FunGame.Desktop.sln | 8 +++++++- FunGame.Desktop/Controller/RunTimeController.cs | 3 ++- FunGame.Desktop/FunGame.Desktop.csproj | 13 ++++++++++++- FunGame.Implement/FunGame.Implement.csproj | 9 ++++++++- 4 files changed, 29 insertions(+), 4 deletions(-) diff --git a/FunGame.Desktop.sln b/FunGame.Desktop.sln index 92bda6b..bc9c6d9 100644 --- a/FunGame.Desktop.sln +++ b/FunGame.Desktop.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.4.33103.184 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FunGame.Desktop", "FunGame.Desktop/FunGame.Desktop.csproj", "{22D5BDE1-69FE-460D-84C8-11B396A70635}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FunGame.Desktop", "FunGame.Desktop\FunGame.Desktop.csproj", "{22D5BDE1-69FE-460D-84C8-11B396A70635}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "FunGame.Implement", "FunGame.Implement\FunGame.Implement.csproj", "{0E1E1C6C-8DB1-40C7-8503-505C4D99BA12}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,6 +17,10 @@ Global {22D5BDE1-69FE-460D-84C8-11B396A70635}.Debug|Any CPU.Build.0 = Debug|Any CPU {22D5BDE1-69FE-460D-84C8-11B396A70635}.Release|Any CPU.ActiveCfg = Release|Any CPU {22D5BDE1-69FE-460D-84C8-11B396A70635}.Release|Any CPU.Build.0 = Release|Any CPU + {0E1E1C6C-8DB1-40C7-8503-505C4D99BA12}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0E1E1C6C-8DB1-40C7-8503-505C4D99BA12}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0E1E1C6C-8DB1-40C7-8503-505C4D99BA12}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0E1E1C6C-8DB1-40C7-8503-505C4D99BA12}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/FunGame.Desktop/Controller/RunTimeController.cs b/FunGame.Desktop/Controller/RunTimeController.cs index d473d0e..a732ac8 100644 --- a/FunGame.Desktop/Controller/RunTimeController.cs +++ b/FunGame.Desktop/Controller/RunTimeController.cs @@ -1,5 +1,6 @@ using Milimoe.FunGame.Core.Library.Common.Event; using Milimoe.FunGame.Core.Library.Constant; +using Milimoe.FunGame.Core.Library.Exception; using Milimoe.FunGame.Desktop.Library; using Milimoe.FunGame.Desktop.Model; using Milimoe.FunGame.Desktop.UI; @@ -112,7 +113,7 @@ namespace Milimoe.FunGame.Desktop.Controller } catch (Exception e) { - RunTime.WriteGameInfo(e.GetErrorInfo()); + Main.GetMessage(e.GetErrorInfo()); } } } diff --git a/FunGame.Desktop/FunGame.Desktop.csproj b/FunGame.Desktop/FunGame.Desktop.csproj index 50e10de..dbbc5f9 100644 --- a/FunGame.Desktop/FunGame.Desktop.csproj +++ b/FunGame.Desktop/FunGame.Desktop.csproj @@ -10,7 +10,7 @@ logo.ico Milimoe - ..\bin + ..\bin\ False False Milimoe @@ -34,6 +34,17 @@ + + + + + + + ..\..\FunGame.Core\bin\Debug\net7.0\FunGame.Core.dll + True + + + Component diff --git a/FunGame.Implement/FunGame.Implement.csproj b/FunGame.Implement/FunGame.Implement.csproj index 5ba34b1..057057e 100644 --- a/FunGame.Implement/FunGame.Implement.csproj +++ b/FunGame.Implement/FunGame.Implement.csproj @@ -5,7 +5,7 @@ enable enable Milimoe - ..\bin + ..\bin\ Milimoe Implement ..\bin @@ -23,4 +23,11 @@ embedded + + + ..\..\FunGame.Core\bin\Debug\net7.0\FunGame.Core.dll + True + + +