diff --git a/CoreOSC.RecieverExample/CoreOSC.RecieverExample.csproj b/CoreOSC.RecieverExample/CoreOSC.RecieverExample.csproj index 63a2757..12204f6 100644 --- a/CoreOSC.RecieverExample/CoreOSC.RecieverExample.csproj +++ b/CoreOSC.RecieverExample/CoreOSC.RecieverExample.csproj @@ -2,10 +2,10 @@ Exe - net7.0 + net8.0 LucHeart.CoreOSC.RecieverExample LucHeart.CoreOSC.RecieverExample - 11 + 12 enable false LucHeart diff --git a/CoreOSC.Tests/CoreOSC.Tests.csproj b/CoreOSC.Tests/CoreOSC.Tests.csproj index b3cc99d..28eed63 100644 --- a/CoreOSC.Tests/CoreOSC.Tests.csproj +++ b/CoreOSC.Tests/CoreOSC.Tests.csproj @@ -5,20 +5,20 @@ false LucHeart.CoreOSC.Tests LucHeart.CoreOSC.Tests - 11 + 12 enable LucHeart - net7.0 + net8.0 - + all runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/CoreOSC.Tests/ListenerTest.cs b/CoreOSC.Tests/ListenerTest.cs index 464f8f6..49b3607 100644 --- a/CoreOSC.Tests/ListenerTest.cs +++ b/CoreOSC.Tests/ListenerTest.cs @@ -1,6 +1,7 @@ using System.Net.Sockets; using System.Threading.Tasks; using Xunit; +#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously namespace LucHeart.CoreOSC.Tests; @@ -11,7 +12,7 @@ public class ListenerTest /// Opening the second listener will fail unless the first one has been properly closed. /// [Fact(Timeout = 5000)] - public void CloseListener() + public async Task CloseListener() { var endpoint = TestUtils.GetNextEndpoint(); using (new OscListener(endpoint)) @@ -25,7 +26,7 @@ public void CloseListener() /// Tries to open two listeners on the same port, results in an exception /// [Fact(Timeout = 5000)] - public void CloseListenerException() + public async Task CloseListenerException() { var endpoint = TestUtils.GetNextEndpoint(); Assert.Throws(() => diff --git a/CoreOSC/CoreOSC.csproj b/CoreOSC/CoreOSC.csproj index ebc6ca7..a88e042 100644 --- a/CoreOSC/CoreOSC.csproj +++ b/CoreOSC/CoreOSC.csproj @@ -3,8 +3,8 @@ LucHeart.CoreOSC LucHeart.CoreOSC - net7.0;netstandard2.1 - 11 + net7.0;netstandard2.1;net8.0 + 12 enable true LucHeart.CoreOSC @@ -13,10 +13,10 @@ https://github.com/LucHeart/CoreOSC-UTF8-ASYNC osc async LucHeart - 1.3.1.0 - 1.3.1.0 + 1.4.0.0 + 1.4.0.0 en - 1.3.1 + 1.4.0 MIT git README.md