From d863d14202974f8a4195535d84725b10b5a5ccbf Mon Sep 17 00:00:00 2001 From: agracio Date: Fri, 15 Mar 2024 07:08:30 +0000 Subject: [PATCH] downgrading NET Standard to 2.0 for broader .NET compatibility --- main.js | 7 ++++++- .../ExternlaLibrary.Standard.csproj | 2 +- src/QuickStart.Standard/QuickStart.Standard.csproj | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 947b4ff..4c3f756 100644 --- a/main.js +++ b/main.js @@ -2,7 +2,7 @@ const path = require('path'); var net = process.argv[2]; var namespace = 'QuickStart.' + net.charAt(0).toUpperCase() + net.substr(1); if(net === 'core' || net === 'fsharp') net = ''; -var version = net == 'standard' ? '2.1' : '7.0' +var version = net == 'standard' ? '2.0' : '7.0' const baseNetAppPath = path.join(__dirname, '/src/'+ namespace +'/bin/Debug/net'+ net + version); @@ -14,6 +14,11 @@ var edge = require('edge-js'); var baseDll = path.join(baseNetAppPath, namespace + '.dll'); +console.log('### Application base path: '+ baseNetAppPath); +console.log('### Application dll: '+ baseDll); +console.log(); +console.log(); + var localTypeName = namespace + '.LocalMethods'; var externalTypeName = namespace + '.ExternalMethods'; diff --git a/src/ExternlaLibrary.Standard/ExternlaLibrary.Standard.csproj b/src/ExternlaLibrary.Standard/ExternlaLibrary.Standard.csproj index e183d57..2756020 100644 --- a/src/ExternlaLibrary.Standard/ExternlaLibrary.Standard.csproj +++ b/src/ExternlaLibrary.Standard/ExternlaLibrary.Standard.csproj @@ -1,7 +1,7 @@ - netstandard2.1 + netstandard2.0 diff --git a/src/QuickStart.Standard/QuickStart.Standard.csproj b/src/QuickStart.Standard/QuickStart.Standard.csproj index 49a3a8a..0600e35 100644 --- a/src/QuickStart.Standard/QuickStart.Standard.csproj +++ b/src/QuickStart.Standard/QuickStart.Standard.csproj @@ -1,6 +1,6 @@  - netstandard2.1 + netstandard2.0 true true