Skip to content

Commit b3b0e39

Browse files
Merge pull request #15 from easymorph/development/5.3.2
ems-cmd 5.3.2
2 parents 4d444c9 + 12750e6 commit b3b0e39

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ EasyMorph Server Command Line Client (in further text – **ems-cmd**) allows yo
88

99
OS Windows x86/x64 with .Net 4.7.2 or later
1010

11-
OS Windows/ Linux / MacOS with dotnet 3.1 or higher (netcoreapp3.1)
11+
OS Windows/ Linux / MacOS with net 6.0 or higher (net6.0)
1212

1313
**EasyMorh Server**
1414

1515
Morph.Server.Sdk.dll (deployed together with ems-cmd). Also [hosted on github](https://github.com/easymorph/server-sdk)
1616

17-
[EasyMorph Server 1.2](http://easymorph.com/server.html) or higher (installed on a separate machine)
17+
[EasyMorph Server 5.0](http://easymorph.com/server.html) or higher (installed on a separate machine)
1818

1919

2020
#### Download

src/BusinessLogic/NetworkUtil.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Collections.Generic;
44
using System.Linq;
55
using System.Net;
6-
#if NETCOREAPP3_1
6+
#if NETCOREAPP3_1 || NET6_0_OR_GREATER
77
using System.Net.Http;
88
#endif
99
using System.Net.Security;
@@ -46,7 +46,7 @@ public static void ConfigureServicePointManager(bool suppressSslErrors)
4646
#endif
4747
}
4848

49-
#if NETCOREAPP3_1
49+
#if NETCOREAPP3_1 || NET6_0_OR_GREATER
5050
internal static void ConfigureServerCertificateCustomValidationCallback(bool suppressSslErrors)
5151
{
5252

src/Program.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
using System.Net;
1212
using System.Reflection;
1313
using Morph.Server.Sdk.Model;
14-
#if NETCOREAPP3_1
14+
#if NETCOREAPP3_1 || NET6_0_OR_GREATER
1515
using System.Net.Http;
1616
#endif
1717

@@ -85,7 +85,7 @@ static void ProcessException(Exception previousException, Exception e, ConsoleOu
8585
consoleOutput.WriteError(rpe.ServerResponseString);
8686
}
8787

88-
#if NETCOREAPP3_1
88+
#if NETCOREAPP3_1 || NET6_0_OR_GREATER
8989
else if (e is HttpRequestException m && m.HResult == -2147012721)
9090
#elif NETFRAMEWORK
9191
else if (e is AuthenticationException)
@@ -117,7 +117,7 @@ static async Task MainAsync(Parameters parameters)
117117
try
118118
{
119119
NetworkUtil.ConfigureServicePointManager(parameters.SuppressSslErrors);
120-
#if NETCOREAPP3_1
120+
#if NETCOREAPP3_1 || NET6_0_OR_GREATER
121121
NetworkUtil.ConfigureServerCertificateCustomValidationCallback(parameters.SuppressSslErrors);
122122
#endif
123123
//MorphServerApiClientGlobalConfig.FileTransferTimeout = TimeSpan.FromSeconds(2);

src/Properties/AssemblyInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[assembly: AssemblyConfiguration("")]
99
[assembly: AssemblyCompany("")]
1010
[assembly: AssemblyProduct("ems-cmd")]
11-
[assembly: AssemblyCopyright("Copyright © EasyMorph Inc. 2017-2022")]
11+
[assembly: AssemblyCopyright("Copyright © EasyMorph Inc. 2017-2023")]
1212
[assembly: AssemblyTrademark("")]
1313
[assembly: AssemblyCulture("")]
1414

@@ -18,5 +18,5 @@
1818
[assembly: Guid("6e61eac0-2957-415d-89af-ea675fc244cb")]
1919

2020

21-
[assembly: AssemblyVersion("5.2.2.0")]
22-
[assembly: AssemblyFileVersion("5.2.2.0")]
21+
[assembly: AssemblyVersion("5.3.2.0")]
22+
[assembly: AssemblyFileVersion("5.3.2.0")]

src/ems-cmd.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net472;netcoreapp3.1</TargetFrameworks>
3+
<TargetFrameworks>net472;net6.0</TargetFrameworks>
44
</PropertyGroup>
55
<PropertyGroup>
66
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>

0 commit comments

Comments
 (0)