From 82f66daa52ff8eaa442f5d16f54304af3afdce9b Mon Sep 17 00:00:00 2001 From: Patrick Ritchie Date: Wed, 22 Jun 2022 12:05:49 -0400 Subject: [PATCH] Updated to use System.Runtime.InteropServices.RuntimeInformation instead of Microsoft.Windows.Compatibility in order to be compliant on older framework versions --- .../MTConnect-Agent-Http-Gateway.csproj | 17 ++++++++++---- .../MTConnect-Agent-Http-Persistent.csproj | 22 +++++++++++-------- .../MTConnect-Agent-Http.csproj | 2 +- 3 files changed, 27 insertions(+), 14 deletions(-) diff --git a/applications/Agents/MTConnect-Agent-Http-Gateway/MTConnect-Agent-Http-Gateway.csproj b/applications/Agents/MTConnect-Agent-Http-Gateway/MTConnect-Agent-Http-Gateway.csproj index 2cf15190..1e6d8301 100644 --- a/applications/Agents/MTConnect-Agent-Http-Gateway/MTConnect-Agent-Http-Gateway.csproj +++ b/applications/Agents/MTConnect-Agent-Http-Gateway/MTConnect-Agent-Http-Gateway.csproj @@ -30,12 +30,21 @@ - - - + + + + + + + + + + + - + + diff --git a/applications/Agents/MTConnect-Agent-Http-Persistent/MTConnect-Agent-Http-Persistent.csproj b/applications/Agents/MTConnect-Agent-Http-Persistent/MTConnect-Agent-Http-Persistent.csproj index 18754cba..b02ef317 100644 --- a/applications/Agents/MTConnect-Agent-Http-Persistent/MTConnect-Agent-Http-Persistent.csproj +++ b/applications/Agents/MTConnect-Agent-Http-Persistent/MTConnect-Agent-Http-Persistent.csproj @@ -24,18 +24,22 @@ TrakHound MTConnect Http Agent - - - + + - - - + + + - - - + + + + + + + + diff --git a/applications/Agents/MTConnect-Agent-Http/MTConnect-Agent-Http.csproj b/applications/Agents/MTConnect-Agent-Http/MTConnect-Agent-Http.csproj index 6d6bce3f..174b7c5c 100644 --- a/applications/Agents/MTConnect-Agent-Http/MTConnect-Agent-Http.csproj +++ b/applications/Agents/MTConnect-Agent-Http/MTConnect-Agent-Http.csproj @@ -41,8 +41,8 @@ - +