From c630f65317426b2fce9c2a0c7c984a0d248647cb Mon Sep 17 00:00:00 2001 From: RaidMax Date: Tue, 8 Oct 2019 16:47:36 -0500 Subject: [PATCH] update the project files even though the culprit was actually the publish file --- Application/Application.csproj | 6 +----- Application/Misc/Logger.cs | 2 +- Plugins/AutomessageFeed/AutomessageFeed.csproj | 1 + Plugins/IW4ScriptCommands/IW4ScriptCommands.csproj | 7 +------ Plugins/Login/Login.csproj | 8 ++------ Plugins/ProfanityDeterment/ProfanityDeterment.csproj | 6 +----- Plugins/Stats/Stats.csproj | 8 ++------ Plugins/Tests/Tests.csproj | 7 +------ Plugins/Web/StatsWeb/StatsWeb.csproj | 1 + Plugins/Welcome/Welcome.csproj | 6 +----- RunPublishPre.cmd | 6 +++--- SharedLibraryCore/SharedLibraryCore.csproj | 8 ++------ WebfrontCore/WebfrontCore.csproj | 3 +-- 13 files changed, 18 insertions(+), 51 deletions(-) diff --git a/Application/Application.csproj b/Application/Application.csproj index 722283c10..7df6ef3e6 100644 --- a/Application/Application.csproj +++ b/Application/Application.csproj @@ -3,8 +3,8 @@ Exe netcoreapp2.2 - 2.2.2 false + true RaidMax.IW4MAdmin.Application 2.2.8.4 RaidMax @@ -54,10 +54,6 @@ - - - - diff --git a/Application/Misc/Logger.cs b/Application/Misc/Logger.cs index d08349a4e..0aebe8889 100644 --- a/Application/Misc/Logger.cs +++ b/Application/Misc/Logger.cs @@ -80,7 +80,7 @@ namespace IW4MAdmin.Application { Console.WriteLine(LogLine); } - await File.AppendAllTextAsync(FileName, $"{LogLine}{Environment.NewLine}"); + File.AppendAllText(FileName, $"{LogLine}{Environment.NewLine}"); #endif } diff --git a/Plugins/AutomessageFeed/AutomessageFeed.csproj b/Plugins/AutomessageFeed/AutomessageFeed.csproj index 47d92a060..a6b4082c9 100644 --- a/Plugins/AutomessageFeed/AutomessageFeed.csproj +++ b/Plugins/AutomessageFeed/AutomessageFeed.csproj @@ -3,6 +3,7 @@ netcoreapp2.2 true + true 7.1 diff --git a/Plugins/IW4ScriptCommands/IW4ScriptCommands.csproj b/Plugins/IW4ScriptCommands/IW4ScriptCommands.csproj index ae9424209..b3b3901e6 100644 --- a/Plugins/IW4ScriptCommands/IW4ScriptCommands.csproj +++ b/Plugins/IW4ScriptCommands/IW4ScriptCommands.csproj @@ -3,7 +3,7 @@ Library netcoreapp2.2 - 2.2.2 + true Debug;Release;Prerelease @@ -22,9 +22,4 @@ false - - - - - diff --git a/Plugins/Login/Login.csproj b/Plugins/Login/Login.csproj index 12463fd10..20d8f2b88 100644 --- a/Plugins/Login/Login.csproj +++ b/Plugins/Login/Login.csproj @@ -3,7 +3,7 @@ Library netcoreapp2.2 - 2.2.2 + true RaidMax.IW4MAdmin.Plugins.Login @@ -23,11 +23,7 @@ false - - - - - + diff --git a/Plugins/ProfanityDeterment/ProfanityDeterment.csproj b/Plugins/ProfanityDeterment/ProfanityDeterment.csproj index 6a36bd557..1e3e6e338 100644 --- a/Plugins/ProfanityDeterment/ProfanityDeterment.csproj +++ b/Plugins/ProfanityDeterment/ProfanityDeterment.csproj @@ -3,7 +3,7 @@ Library netcoreapp2.2 - 2.2.2 + true RaidMax.IW4MAdmin.Plugins.ProfanityDeterment @@ -22,10 +22,6 @@ - - - - diff --git a/Plugins/Stats/Stats.csproj b/Plugins/Stats/Stats.csproj index 4f371e775..a534b2682 100644 --- a/Plugins/Stats/Stats.csproj +++ b/Plugins/Stats/Stats.csproj @@ -3,7 +3,7 @@ Library netcoreapp2.2 - 2.2.2 + true RaidMax.IW4MAdmin.Plugins.Stats @@ -24,11 +24,7 @@ false - - - - - + diff --git a/Plugins/Tests/Tests.csproj b/Plugins/Tests/Tests.csproj index 872f54352..21316e67f 100644 --- a/Plugins/Tests/Tests.csproj +++ b/Plugins/Tests/Tests.csproj @@ -3,7 +3,7 @@ Library netcoreapp2.2 - 2.2.2 + true 7.1 @@ -25,9 +25,4 @@ - - - - - diff --git a/Plugins/Web/StatsWeb/StatsWeb.csproj b/Plugins/Web/StatsWeb/StatsWeb.csproj index e4550db72..c80077498 100644 --- a/Plugins/Web/StatsWeb/StatsWeb.csproj +++ b/Plugins/Web/StatsWeb/StatsWeb.csproj @@ -1,6 +1,7 @@  netcoreapp2.2 + true true true Debug;Release;Prerelease diff --git a/Plugins/Welcome/Welcome.csproj b/Plugins/Welcome/Welcome.csproj index caefd0da7..313429d6b 100644 --- a/Plugins/Welcome/Welcome.csproj +++ b/Plugins/Welcome/Welcome.csproj @@ -3,7 +3,7 @@ Library netcoreapp2.2 - 2.2.2 + true RaidMax.IW4MAdmin.Plugins.Welcome @@ -22,10 +22,6 @@ - - - - diff --git a/RunPublishPre.cmd b/RunPublishPre.cmd index f046f5a50..a6ee9f45a 100644 --- a/RunPublishPre.cmd +++ b/RunPublishPre.cmd @@ -1,6 +1,6 @@ -dotnet publish WebfrontCore/WebfrontCore.csproj -c Prerelease -o X:\IW4MAdmin\Publish\WindowsPrerelease /p:PublishProfile=Prerelease -dotnet publish Application/Application.csproj -c Prerelease -o X:\IW4MAdmin\Publish\WindowsPrerelease /p:PublishProfile=Prerelease -dotnet publish GameLogServer/GameLogServer.pyproj -c Release -o X:\IW4MAdmin\Publish\WindowsPrerelease\GameLogServer +dotnet publish WebfrontCore/WebfrontCore.csproj -c Prerelease -f netcoreapp2.2 --force -o X:\IW4MAdmin\Publish\WindowsPrerelease /p:PublishProfile=Prerelease +dotnet publish Application/Application.csproj -c Prerelease -f netcoreapp2.2 --force -o X:\IW4MAdmin\Publish\WindowsPrerelease /p:PublishProfile=Prerelease +dotnet publish GameLogServer/GameLogServer.pyproj -c Release -f netcoreapp2.2 --force -o X:\IW4MAdmin\Publish\WindowsPrerelease\GameLogServer call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat" msbuild GameLogServer/GameLogServer.pyproj /p:PublishProfile=PreRelease /p:DeployOnBuild=true /p:PublishProfileRootFolder=X:\IW4MAdmin\GameLogServer\ cd "X:\IW4MAdmin\DEPLOY\" diff --git a/SharedLibraryCore/SharedLibraryCore.csproj b/SharedLibraryCore/SharedLibraryCore.csproj index f416b1e93..78c235727 100644 --- a/SharedLibraryCore/SharedLibraryCore.csproj +++ b/SharedLibraryCore/SharedLibraryCore.csproj @@ -3,7 +3,7 @@ Library netcoreapp2.2 - 2.2.2 + true RaidMax.IW4MAdmin.SharedLibraryCore @@ -51,11 +51,7 @@ - - - - - + diff --git a/WebfrontCore/WebfrontCore.csproj b/WebfrontCore/WebfrontCore.csproj index 57266fcac..a5430f7fb 100644 --- a/WebfrontCore/WebfrontCore.csproj +++ b/WebfrontCore/WebfrontCore.csproj @@ -2,7 +2,7 @@ netcoreapp2.2 - 2.2.2 + true true true true @@ -83,7 +83,6 @@ all runtime; build; native; contentfiles; analyzers -