From 31923c099fe07a03eb9c1271532ea6d85454394a Mon Sep 17 00:00:00 2001 From: Legedric Date: Mon, 28 May 2018 10:02:31 +0200 Subject: [PATCH] Seperating .NET Core target frameworks for Windows and everything else --- Core/Core.csproj | 5 ++++- Core/Main/PTMagic.cs | 3 +-- Monitor/Monitor.csproj | 16 ++++++++++++++-- PTMagic/PTMagic.csproj | 8 +++++++- 4 files changed, 26 insertions(+), 6 deletions(-) diff --git a/Core/Core.csproj b/Core/Core.csproj index 26bc68b..162950e 100644 --- a/Core/Core.csproj +++ b/Core/Core.csproj @@ -1,6 +1,9 @@ - + + netcoreapp2.0 + + netcoreapp2.1 diff --git a/Core/Main/PTMagic.cs b/Core/Main/PTMagic.cs index dd023d3..24bd2ff 100644 --- a/Core/Main/PTMagic.cs +++ b/Core/Main/PTMagic.cs @@ -417,8 +417,7 @@ namespace Core.Main { this.Log.DoLogInfo(" Version " + this.CurrentVersion.Major + "." + this.CurrentVersion.Minor + "." + this.CurrentVersion.Build); this.Log.DoLogInfo(""); this.Log.DoLogInfo("Starting PTMagic in " + Directory.GetCurrentDirectory()); - - Console.WriteLine($"(Framework: {Path.GetDirectoryName(typeof(object).Assembly.Location)})"); + this.Log.DoLogInfo("with .NET Core: " + Path.GetDirectoryName(typeof(object).Assembly.Location)); if (!this.RunStartupChecks()) { return false; diff --git a/Monitor/Monitor.csproj b/Monitor/Monitor.csproj index 16f2556..4bbcddc 100644 --- a/Monitor/Monitor.csproj +++ b/Monitor/Monitor.csproj @@ -1,6 +1,12 @@ - + + netcoreapp2.0 + + netcoreapp2.1 + + + @@ -21,7 +27,13 @@ - + + + + + + + diff --git a/PTMagic/PTMagic.csproj b/PTMagic/PTMagic.csproj index 9c7e3d2..7a5531f 100644 --- a/PTMagic/PTMagic.csproj +++ b/PTMagic/PTMagic.csproj @@ -1,8 +1,14 @@ + + netcoreapp2.0 + + + netcoreapp2.1 + + Exe - netcoreapp2.1 False False $(MSBuildStartupDirectory)/PTMagic