From 04a6a78bcd7b4b9fe42f5052333a20ece57db173 Mon Sep 17 00:00:00 2001 From: Daniel Cazzulino Date: Wed, 7 Aug 2024 16:05:14 -0300 Subject: [PATCH] Update and cleanup dependencies --- src/CodeAnalysis/CodeAnalysis.csproj | 4 +-- src/NuGetizer.Tasks/NuGetizer.Tasks.csproj | 6 ++--- src/NuGetizer.Tests/Builder.NuGetizer.cs | 4 +-- src/NuGetizer.Tests/NuGetizer.Tests.csproj | 29 ++++++++-------------- src/dotnet-nugetize/dotnet-nugetize.csproj | 13 +++++----- 5 files changed, 24 insertions(+), 32 deletions(-) diff --git a/src/CodeAnalysis/CodeAnalysis.csproj b/src/CodeAnalysis/CodeAnalysis.csproj index 08aa0359..5c35f03e 100644 --- a/src/CodeAnalysis/CodeAnalysis.csproj +++ b/src/CodeAnalysis/CodeAnalysis.csproj @@ -10,8 +10,8 @@ - - + + diff --git a/src/NuGetizer.Tasks/NuGetizer.Tasks.csproj b/src/NuGetizer.Tasks/NuGetizer.Tasks.csproj index 19dcde0e..97148fbb 100644 --- a/src/NuGetizer.Tasks/NuGetizer.Tasks.csproj +++ b/src/NuGetizer.Tasks/NuGetizer.Tasks.csproj @@ -20,11 +20,11 @@ - + - - + + diff --git a/src/NuGetizer.Tests/Builder.NuGetizer.cs b/src/NuGetizer.Tests/Builder.NuGetizer.cs index c579d9d5..d61fe150 100644 --- a/src/NuGetizer.Tests/Builder.NuGetizer.cs +++ b/src/NuGetizer.Tests/Builder.NuGetizer.cs @@ -142,7 +142,7 @@ public static TargetResult BuildScenario( } var loggers = OpenBuildLogAttribute.IsActive || Environment.GetEnvironmentVariable("SYSTEM_DEBUG") == "true" ? - new ILogger[] { logger, new StructuredLogger + new ILogger[] { logger, new BinaryLogger { Verbosity = LoggerVerbosity.Diagnostic, Parameters = logFile @@ -192,7 +192,7 @@ public void AssertSuccess(ITestOutputHelper output) if (!BuildResult.ResultsByTarget.ContainsKey(Target)) { output.WriteLine(ToString()); - Assert.False(true, "Build results do not contain output for target " + Target); + Assert.Fail("Build results do not contain output for target " + Target); } if (ResultCode != TargetResultCode.Success) diff --git a/src/NuGetizer.Tests/NuGetizer.Tests.csproj b/src/NuGetizer.Tests/NuGetizer.Tests.csproj index da6ca503..4939cb42 100644 --- a/src/NuGetizer.Tests/NuGetizer.Tests.csproj +++ b/src/NuGetizer.Tests/NuGetizer.Tests.csproj @@ -12,22 +12,20 @@ - - + + - + - + - - - - - - - - + + + + + + @@ -59,12 +57,7 @@ - - - - - - + diff --git a/src/dotnet-nugetize/dotnet-nugetize.csproj b/src/dotnet-nugetize/dotnet-nugetize.csproj index 28e3560d..8aa3bed9 100644 --- a/src/dotnet-nugetize/dotnet-nugetize.csproj +++ b/src/dotnet-nugetize/dotnet-nugetize.csproj @@ -2,8 +2,8 @@ Exe - net6.0 - + net8.0 + Latest true false @@ -23,14 +23,13 @@ - - - - + + + - +