From 18e8024d984c2b2bcb47c95adb4b95a0923a99d0 Mon Sep 17 00:00:00 2001 From: pgrote Date: Thu, 26 Oct 2023 21:27:51 +0200 Subject: [PATCH] Set TartgetFrameworks netstandard2.0 net6.0 Bump 0.0.6 --- ArtNetSharp/ArtNetSharp.csproj | 4 ++-- ArtNetTests/ArtNetTests.csproj | 9 +++++---- ArtNetTests/NetworkTest.cs | 2 +- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/ArtNetSharp/ArtNetSharp.csproj b/ArtNetSharp/ArtNetSharp.csproj index d61da74..808ee91 100644 --- a/ArtNetSharp/ArtNetSharp.csproj +++ b/ArtNetSharp/ArtNetSharp.csproj @@ -1,8 +1,8 @@  - netstandard2.0 + netstandard2.0;net6.0 LICENSE - 0.0.5 + 0.0.6 https://github.com/DMXControl/ArtNetSharp $(RepositoryUrl) RDM; ArtNet; E1.20; E1.33; E1.37-1; E1.37-2; E1.37-7 diff --git a/ArtNetTests/ArtNetTests.csproj b/ArtNetTests/ArtNetTests.csproj index 7a0bc88..c4484e5 100644 --- a/ArtNetTests/ArtNetTests.csproj +++ b/ArtNetTests/ArtNetTests.csproj @@ -1,19 +1,20 @@ - net6.0 + netstandard2.0;net6.0 enable enable - + latest false - False + True + + x64 - all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/ArtNetTests/NetworkTest.cs b/ArtNetTests/NetworkTest.cs index f4f5faf..0447c27 100644 --- a/ArtNetTests/NetworkTest.cs +++ b/ArtNetTests/NetworkTest.cs @@ -194,7 +194,7 @@ public void TestSendTimeCode() artNet.AddInstance(instance); for (int i = 0; i < 600; i++) { - TimeOnly time = TimeOnly.FromDateTime(DateTime.UtcNow); + DateTime time = DateTime.UtcNow; ArtTimeCode timecode = new ArtTimeCode((byte)(time.Millisecond / 1000.0 * 30), (byte)time.Second, (byte)time.Minute, (byte)time.Hour, ETimecodeType.SMTPE); _ = instance.SendArtTimeCode(timecode); Thread.Sleep(100);