Skip to content

Commit 465fdab

Browse files
committed
add net6 and net9
1 parent c83773c commit 465fdab

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/S7CommPlusDriver/S7CommPlusConnectionHighLevel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ public int GetBlockXml(uint relid, out string blockName, out ProgrammingLanguage
422422
var blob_sp3 = xx.GetValue();
423423
blockBody = new string[blob_sp3.Where(x => x.Key < (uint)BinaryArtifacts.PlcFamily).Count()];
424424
var i = 0;
425-
foreach (var key in blob_sp3.Keys.Order())
425+
foreach (var key in blob_sp3.Keys.OrderBy(x => x))
426426
{
427427
if (!(key < (uint)BinaryArtifacts.PlcFamily))
428428
{

src/S7CommPlusDriver/S7CommPlusDriver.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0</TargetFrameworks>
3+
<TargetFrameworks>net6.0;net8.0;net9.0</TargetFrameworks>
44
<OutputType>Library</OutputType>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
6-
<LangVersion>9.0</LangVersion>
6+
<LangVersion>10.0</LangVersion>
77
</PropertyGroup>
88
<PropertyGroup>
99
<StartupObject />

0 commit comments

Comments
 (0)