From 33d70dddbb0707f7eb0ac2bc077575e020b68a3b Mon Sep 17 00:00:00 2001 From: Legedric Date: Sat, 26 May 2018 06:53:25 +0200 Subject: [PATCH] Upgraded .NET Core to 2.1 to fix issues on Linux and Mac #450 #491 #496 #501 #531 --- Core/Core.csproj | 4 ++-- Core/Main/PTMagic.cs | 2 ++ Monitor/Monitor.csproj | 12 ++++-------- PTMagic/PTMagic.csproj | 4 ++-- PTMagic/Program.cs | 2 +- 5 files changed, 11 insertions(+), 13 deletions(-) diff --git a/Core/Core.csproj b/Core/Core.csproj index 48a800b..26bc68b 100644 --- a/Core/Core.csproj +++ b/Core/Core.csproj @@ -1,12 +1,12 @@ - netcoreapp2.0 + netcoreapp2.1 - + diff --git a/Core/Main/PTMagic.cs b/Core/Main/PTMagic.cs index 61f6495..dd023d3 100644 --- a/Core/Main/PTMagic.cs +++ b/Core/Main/PTMagic.cs @@ -418,6 +418,8 @@ namespace Core.Main { this.Log.DoLogInfo(""); this.Log.DoLogInfo("Starting PTMagic in " + Directory.GetCurrentDirectory()); + Console.WriteLine($"(Framework: {Path.GetDirectoryName(typeof(object).Assembly.Location)})"); + if (!this.RunStartupChecks()) { return false; } diff --git a/Monitor/Monitor.csproj b/Monitor/Monitor.csproj index e1e8537..16f2556 100644 --- a/Monitor/Monitor.csproj +++ b/Monitor/Monitor.csproj @@ -1,6 +1,6 @@ - netcoreapp2.0 + netcoreapp2.1 @@ -23,13 +23,9 @@ - - - - - - - + + + diff --git a/PTMagic/PTMagic.csproj b/PTMagic/PTMagic.csproj index 703ac36..9c7e3d2 100644 --- a/PTMagic/PTMagic.csproj +++ b/PTMagic/PTMagic.csproj @@ -2,7 +2,7 @@ Exe - netcoreapp2.0 + netcoreapp2.1 False False $(MSBuildStartupDirectory)/PTMagic @@ -14,7 +14,7 @@ - + diff --git a/PTMagic/Program.cs b/PTMagic/Program.cs index 47f624a..3493791 100644 --- a/PTMagic/Program.cs +++ b/PTMagic/Program.cs @@ -7,7 +7,7 @@ using Core.Helper; using Core.Main.DataObjects.PTMagicData; using Microsoft.Extensions.DependencyInjection; -[assembly: AssemblyVersion("2.0.1")] +[assembly: AssemblyVersion("2.0.2")] [assembly: AssemblyProduct("PT Magic")] namespace PTMagic {