diff --git a/README.md b/README.md index ba87465..ebec9fa 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Feel free to ask any question in the ## Build The project requires -[.NET 6.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/6.0). +[.NET 8.0 SDK](https://dotnet.microsoft.com/en-us/download/dotnet/8.0). To build, test and generate artifacts run: diff --git a/build.csx b/build.csx index 483d0cb..aac22ae 100644 --- a/build.csx +++ b/build.csx @@ -20,9 +20,9 @@ public sealed class BuildLifetime : FrostingLifetime context.WarningsAsErrors = false; context.DotNetContext.CoverageTarget = 0; context.DotNetContext.ApplicationProjects.Add(new ProjectPublicationInfo( - "./src/PlayMobic.Tool", new[] { "win-x64", "linux-x64", "osx-x64" }, "net6.0")); + "./src/PlayMobic.Tool", new[] { "win-x64", "linux-x64", "osx-x64" }, "net8.0")); context.DotNetContext.ApplicationProjects.Add(new ProjectPublicationInfo( - "./src/PlayMobic.UI", new[] { "win-x64", "linux-x64", "osx-x64" }, "net6.0")); + "./src/PlayMobic.UI", new[] { "win-x64", "linux-x64", "osx-x64" }, "net8.0")); // Update build parameters from command line arguments. context.ReadArguments(); diff --git a/src/Directory.Build.props b/src/Directory.Build.props index 3fe3264..8d5836f 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -41,9 +41,6 @@ true true - - - diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 60830e6..0bdc67f 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -19,7 +19,6 @@ - \ No newline at end of file diff --git a/src/PlayMobic.PerformanceTests/PlayMobic.PerformanceTests.csproj b/src/PlayMobic.PerformanceTests/PlayMobic.PerformanceTests.csproj index c875e50..598f3c1 100644 --- a/src/PlayMobic.PerformanceTests/PlayMobic.PerformanceTests.csproj +++ b/src/PlayMobic.PerformanceTests/PlayMobic.PerformanceTests.csproj @@ -3,7 +3,7 @@ Exe - net6.0 + net8.0 enable enable diff --git a/src/PlayMobic.Tests/PlayMobic.Tests.csproj b/src/PlayMobic.Tests/PlayMobic.Tests.csproj index 793b5ef..ff84620 100644 --- a/src/PlayMobic.Tests/PlayMobic.Tests.csproj +++ b/src/PlayMobic.Tests/PlayMobic.Tests.csproj @@ -1,7 +1,7 @@ - net6.0 + net8.0 false enable diff --git a/src/PlayMobic.Tests/Video/YuvBlockTests.cs b/src/PlayMobic.Tests/Video/YuvBlockTests.cs index 83bb405..6b8bbf9 100644 --- a/src/PlayMobic.Tests/Video/YuvBlockTests.cs +++ b/src/PlayMobic.Tests/Video/YuvBlockTests.cs @@ -16,9 +16,11 @@ public void ConstructorSetProperties() var macroblock = new YuvBlock(expectedY, expectedU, expectedV); Assert.Multiple(() => { - Assert.That(macroblock.Luma, Is.EqualTo(expectedY)); - Assert.That(macroblock.ChromaU, Is.EqualTo(expectedU)); - Assert.That(macroblock.ChromaV, Is.EqualTo(expectedV)); +#pragma warning disable NUnit2010 // Bug in NUnit with Is.EqualTo + Assert.That(macroblock.Luma.Equals(expectedY), Is.True); + Assert.That(macroblock.ChromaU.Equals(expectedU), Is.True); + Assert.That(macroblock.ChromaV.Equals(expectedV), Is.True); +#pragma warning restore NUnit2010 }); } } diff --git a/src/PlayMobic.Tool/PlayMobic.Tool.csproj b/src/PlayMobic.Tool/PlayMobic.Tool.csproj index 60d0474..ef5dbe9 100644 --- a/src/PlayMobic.Tool/PlayMobic.Tool.csproj +++ b/src/PlayMobic.Tool/PlayMobic.Tool.csproj @@ -3,7 +3,7 @@ Exe - net6.0 + net8.0 false false diff --git a/src/PlayMobic.UI/PlayMobic.UI.csproj b/src/PlayMobic.UI/PlayMobic.UI.csproj index 4071c78..ef972d3 100644 --- a/src/PlayMobic.UI/PlayMobic.UI.csproj +++ b/src/PlayMobic.UI/PlayMobic.UI.csproj @@ -3,7 +3,7 @@ WinExe Assets/avalonia-logo.ico - net6.0 + net8.0 false true app.manifest diff --git a/src/PlayMobic/PlayMobic.csproj b/src/PlayMobic/PlayMobic.csproj index cec3ec0..829a0b7 100644 --- a/src/PlayMobic/PlayMobic.csproj +++ b/src/PlayMobic/PlayMobic.csproj @@ -4,7 +4,7 @@ Codec for MODS video format. true - net6.0 + net8.0 false