From f103721314b43c56423fd6a5ab6a2cef36cb6ab0 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:19:45 +0200 Subject: [PATCH 01/23] Update Azure.Identity to "1.21.0" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 5a1a8e0e3..0048aae24 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -4,7 +4,7 @@ true - + From 933b225204d876dbb89c792f319c87c75ab1ef67 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:20:09 +0200 Subject: [PATCH 02/23] Update Azure.Security.KeyVault.Certificates to "4.9.0" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 0048aae24..49e34ee77 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -5,7 +5,7 @@ - + From af62862ea2aa750073bf287c867988c0b3ee77a6 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:20:29 +0200 Subject: [PATCH 03/23] Update Azure.Security.KeyVault.Keys to "4.10.0" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 49e34ee77..b903c30dd 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -6,7 +6,7 @@ - + From 8095cd452bda1fa3d8433a02ea29b93b872216c8 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:20:43 +0200 Subject: [PATCH 04/23] Update Azure.Security.KeyVault.Secrets to "4.11.0" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index b903c30dd..694219fa3 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -7,7 +7,7 @@ - + From 99c152948b4ec2c39a9427de2b707c0ea72493ff Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:21:41 +0200 Subject: [PATCH 05/23] Update Basic.Reference.Assemblies.NetStandard20 to "1.8.9" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 694219fa3..6b7b6307f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -8,7 +8,7 @@ - + From 456113bfe55d6e6252e3a7971b95aabe43f69398 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:31:03 +0200 Subject: [PATCH 06/23] Update coverlet.msbuild to "10.0.1" --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 6b7b6307f..de4b01a9f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -34,7 +34,7 @@ - + @@ -88,4 +88,4 @@ - \ No newline at end of file + From ec2c46c3f20d9840af631634098a53bec51552b3 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:31:48 +0200 Subject: [PATCH 07/23] Update GitHubActionsTestLogger to "3.0.4" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index de4b01a9f..29980a2cd 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -36,7 +36,7 @@ - + From 95d764cdd83b74fa25fd86aee1976e2e2cf6f1f1 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:32:11 +0200 Subject: [PATCH 08/23] Update HtmlAgilityPack to "1.12.4" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 29980a2cd..41dc09c8a 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -11,7 +11,7 @@ - + From 6a366fac961e0d4e7ae3ce8affdd01752d43b083 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:32:33 +0200 Subject: [PATCH 09/23] Update Humanizer to "3.0.10" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 41dc09c8a..82270b718 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -12,7 +12,7 @@ - + From a6ba8ce97de49c60f275df142bd3073f8356e293 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:46:43 +0200 Subject: [PATCH 10/23] Fix warnings --- src/Fallout.Build/Telemetry/Telemetry.cs | 4 +--- src/Fallout.Cli/Commands/IFalloutCommand.cs | 1 + src/Persistence/Fallout.Persistence.Solution/Shims.cs | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Fallout.Build/Telemetry/Telemetry.cs b/src/Fallout.Build/Telemetry/Telemetry.cs index 0f7878410..053f81f66 100644 --- a/src/Fallout.Build/Telemetry/Telemetry.cs +++ b/src/Fallout.Build/Telemetry/Telemetry.cs @@ -27,8 +27,6 @@ internal static partial class Telemetry private const string VersionPropertyName = "FalloutTelemetryVersion"; private const string LegacyVersionPropertyName = "NukeTelemetryVersion"; - private static readonly int? s_confirmedVersion; - static Telemetry() { var optoutParameter = ParameterService.GetParameter(OptOutEnvironmentKey) @@ -123,4 +121,4 @@ private static void WaitForEnter() response = Console.ReadKey(intercept: true).Key; } while (response != ConsoleKey.Enter); } -} \ No newline at end of file +} diff --git a/src/Fallout.Cli/Commands/IFalloutCommand.cs b/src/Fallout.Cli/Commands/IFalloutCommand.cs index f583aa87d..b85932af3 100644 --- a/src/Fallout.Cli/Commands/IFalloutCommand.cs +++ b/src/Fallout.Cli/Commands/IFalloutCommand.cs @@ -19,6 +19,7 @@ internal interface IFalloutCommand /// The command name as typed after the : prefix (prefer dash form, e.g. "add-package").\ /// Matched case-insensitively and with dashes ignored (so :addpackage also matches).\ /// Legacy commands may still use PascalCase names (e.g. "GetNextDirectory"). + /// string Name { get; } /// diff --git a/src/Persistence/Fallout.Persistence.Solution/Shims.cs b/src/Persistence/Fallout.Persistence.Solution/Shims.cs index ad41e9a31..9e7be05e7 100644 --- a/src/Persistence/Fallout.Persistence.Solution/Shims.cs +++ b/src/Persistence/Fallout.Persistence.Solution/Shims.cs @@ -21,7 +21,7 @@ public static bool Contains(this string str, char c) return str.Contains(c.ToString()); } - public static bool TryGetValue(this HashSet set, T equalValue, out T actualValue) + public static bool TryGetValue(this HashSet set, T equalValue, out T? actualValue) { foreach (var item in set) { From bd298f51db9889246a007a0c86571bc49570a185 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:47:36 +0200 Subject: [PATCH 11/23] Update Scriban to "7.2.5" --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 82270b718..81f705dd1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -64,7 +64,7 @@ - + @@ -88,4 +88,4 @@ - + \ No newline at end of file From fcd0737e7807ce0366404def489bf67fda05a2b8 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 18:48:52 +0200 Subject: [PATCH 12/23] Update Serilog to "4.3.1" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 81f705dd1..ec5c72bfe 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -19,7 +19,7 @@ - + From 2be5198ff0a5db7f1393b43d12bc9e567cd45e1a Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 20:06:58 +0200 Subject: [PATCH 13/23] Update xunit -> xunit.v3 / Verify.XunitV3 --- Directory.Build.props | 7 +++---- Directory.Packages.props | 9 ++++----- tests/Fallout.Common.Specs/CISpecs.cs | 3 +-- tests/Fallout.Core.Specs/ArchitectureFitnessSpecs.cs | 2 +- .../Fallout.Utilities.Specs/IO/CompressionTasksSpecs.cs | 1 - .../IO/FileSystemDependentSpecs.cs | 7 +++---- tests/Fallout.Utilities.Specs/IO/MoveCopySpecs.cs | 1 - 7 files changed, 12 insertions(+), 18 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 7365dbf02..17994f942 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -53,15 +53,14 @@ - + - - + - + diff --git a/Directory.Packages.props b/Directory.Packages.props index ec5c72bfe..d3f31aed2 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -37,13 +37,12 @@ - + - - + - + @@ -88,4 +87,4 @@ - \ No newline at end of file + diff --git a/tests/Fallout.Common.Specs/CISpecs.cs b/tests/Fallout.Common.Specs/CISpecs.cs index 81d76213e..a71f9a3cb 100644 --- a/tests/Fallout.Common.Specs/CISpecs.cs +++ b/tests/Fallout.Common.Specs/CISpecs.cs @@ -126,9 +126,8 @@ private class CITheoryAttribute : TheoryAttribute public CITheoryAttribute(Type type) { + Skip = !IsRunning(_type) ? $"Only applies to {_type.Name}." : null; _type = type; } - - public override string Skip => !IsRunning(_type) ? $"Only applies to {_type.Name}." : null; } } diff --git a/tests/Fallout.Core.Specs/ArchitectureFitnessSpecs.cs b/tests/Fallout.Core.Specs/ArchitectureFitnessSpecs.cs index 0c00c7f8f..7857c1167 100644 --- a/tests/Fallout.Core.Specs/ArchitectureFitnessSpecs.cs +++ b/tests/Fallout.Core.Specs/ArchitectureFitnessSpecs.cs @@ -1,9 +1,9 @@ -using System.Linq; using System.Reflection; using FluentAssertions; using Fallout.Core.Planning; using NetArchTest.Rules; using Xunit; +using TestResult = NetArchTest.Rules.TestResult; namespace Fallout.Core.Specs; diff --git a/tests/Fallout.Utilities.Specs/IO/CompressionTasksSpecs.cs b/tests/Fallout.Utilities.Specs/IO/CompressionTasksSpecs.cs index 7e8fd9271..53c98ed74 100644 --- a/tests/Fallout.Utilities.Specs/IO/CompressionTasksSpecs.cs +++ b/tests/Fallout.Utilities.Specs/IO/CompressionTasksSpecs.cs @@ -4,7 +4,6 @@ using FluentAssertions; using Fallout.Common.IO; using Xunit; -using Xunit.Abstractions; namespace Fallout.Common.Specs; diff --git a/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs b/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs index 0de1336c0..277a61676 100644 --- a/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs +++ b/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs @@ -4,7 +4,8 @@ using System.Reflection; using Fallout.Common; using Fallout.Common.IO; -using Xunit.Abstractions; +using Xunit; +using Xunit.Sdk; namespace Fallout.Common.Specs; @@ -21,9 +22,7 @@ protected FileSystemDependentSpecs(ITestOutputHelper testOutputHelper) { TestOutputHelper = testOutputHelper; - TestName = ((ITest) testOutputHelper.GetType() - .GetField("test", BindingFlags.NonPublic | BindingFlags.Instance).NotNull() - .GetValue(testOutputHelper).NotNull()).TestCase.TestMethod.Method.Name; + TestName = TestContext.Current.Test?.TestDisplayName; ExecutionDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location).NotNull(); RootDirectory = Constants.TryGetRootDirectoryFrom(EnvironmentInfo.WorkingDirectory); diff --git a/tests/Fallout.Utilities.Specs/IO/MoveCopySpecs.cs b/tests/Fallout.Utilities.Specs/IO/MoveCopySpecs.cs index 37729a381..f75c87108 100644 --- a/tests/Fallout.Utilities.Specs/IO/MoveCopySpecs.cs +++ b/tests/Fallout.Utilities.Specs/IO/MoveCopySpecs.cs @@ -4,7 +4,6 @@ using Fallout.Common.IO; using Fallout.Common.Utilities.Collections; using Xunit; -using Xunit.Abstractions; namespace Fallout.Common.Specs; From 09939a9d99147f5a44324a7ebff8fc200f9aa130 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 20:08:14 +0200 Subject: [PATCH 14/23] Update System.Security.Cryptography.Xml to "10.0.9" --- build/_build.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/_build.csproj b/build/_build.csproj index 0491b6ce2..00285d83c 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -54,7 +54,7 @@ - + From 9b283ff8968acf6fd1af4786dde2784f70051846 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 20:08:33 +0200 Subject: [PATCH 15/23] Update System.Text.Json to "10.0.9" --- Directory.Packages.props | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index d3f31aed2..a46496105 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -28,7 +28,7 @@ - + @@ -87,4 +87,4 @@ - + \ No newline at end of file From d07756e30dae98f4e3cbf596c2e128eae5d208d1 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 20:09:19 +0200 Subject: [PATCH 16/23] Update YamlDotNet to "18.1.0" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index a46496105..d23d6e4d6 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -29,7 +29,7 @@ - + From 0e8aebcff43bb3679a352c4a80939f65cbf01c56 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 20:10:31 +0200 Subject: [PATCH 17/23] Update Verify.DiffPlex to "3.3.0" --- Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index d23d6e4d6..0333b0a55 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -40,7 +40,7 @@ - + From f25fe1c97f3ed24c131615be5993e65d3ad01566 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 20:11:53 +0200 Subject: [PATCH 18/23] Update Microsoft.Build* to "18.7.1" --- Directory.Packages.props | 8 ++++---- src/Fallout.MSBuildTasks/CodeGenerationTask.cs | 3 +-- tests/Fallout.ProjectModel.Specs/ProjectModelSpecs.cs | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 0333b0a55..cac8ad824 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -68,10 +68,10 @@ - - - - + + + + diff --git a/src/Fallout.MSBuildTasks/CodeGenerationTask.cs b/src/Fallout.MSBuildTasks/CodeGenerationTask.cs index 042b73cda..cdc92bb95 100644 --- a/src/Fallout.MSBuildTasks/CodeGenerationTask.cs +++ b/src/Fallout.MSBuildTasks/CodeGenerationTask.cs @@ -1,10 +1,9 @@ -using System; using System.Linq; using Microsoft.Build.Framework; using Fallout.CodeGeneration; using Fallout.CodeGeneration.Model; -using Fallout.Common.IO; using Fallout.Common.Utilities.Collections; +using AbsolutePath = Fallout.Common.IO.AbsolutePath; namespace Fallout.MSBuildTasks; diff --git a/tests/Fallout.ProjectModel.Specs/ProjectModelSpecs.cs b/tests/Fallout.ProjectModel.Specs/ProjectModelSpecs.cs index 37c2b26e0..84d8bb162 100644 --- a/tests/Fallout.ProjectModel.Specs/ProjectModelSpecs.cs +++ b/tests/Fallout.ProjectModel.Specs/ProjectModelSpecs.cs @@ -25,7 +25,7 @@ public void ProjectSpec() project.GetTargetFrameworks().Should().Equal("net8.0", "net9.0", "net10.0"); project.HasPackageReference("Microsoft.Build.Locator").Should().BeTrue(); project.GetPackageReferenceVersion("Microsoft.Build.Locator").Should().Be("1.7.8"); - project.GetPackageReferenceVersion("Microsoft.Build").Should().Be("18.0.2"); + project.GetPackageReferenceVersion("Microsoft.Build").Should().Be("18.7.1"); } [Fact] From 1e7d2fde99cab04616b7d6f2fe76f6944bff4fe1 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger Date: Thu, 9 Jul 2026 21:11:50 +0200 Subject: [PATCH 19/23] Opt-in to MTP --- Directory.Build.props | 1 + global.json | 11 +++++++---- src/Fallout.Components/ITest.cs | 18 +++++++++--------- 3 files changed, 17 insertions(+), 13 deletions(-) diff --git a/Directory.Build.props b/Directory.Build.props index 17994f942..14f67a964 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,6 +7,7 @@ embedded true true + true diff --git a/global.json b/global.json index 1e7fdfa95..5bb49fea7 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,9 @@ { - "sdk": { - "version": "10.0.100", - "rollForward": "latestMinor" - } + "sdk": { + "version": "10.0.100", + "rollForward": "latestMinor" + }, + "test": { + "runner": "Microsoft.Testing.Platform" + } } diff --git a/src/Fallout.Components/ITest.cs b/src/Fallout.Components/ITest.cs index 537beb206..dda1cd84f 100644 --- a/src/Fallout.Components/ITest.cs +++ b/src/Fallout.Components/ITest.cs @@ -94,15 +94,15 @@ IEnumerable GetOutcomes(AbsolutePath file) sealed Configure TestProjectSettingsBase => (_, v) => _ .SetProjectFile(v) - // https://github.com/Tyrrrz/GitHubActionsTestLogger - .When(GitHubActions.Instance is not null && v.HasPackageReference("GitHubActionsTestLogger"), _ => _ - .AddLoggers("GitHubActions;report-warnings=false")) - // https://github.com/JetBrains/TeamCity.VSTest.TestAdapter - .When(TeamCity.Instance is not null && v.HasPackageReference("TeamCity.VSTest.TestAdapter"), _ => _ - .AddLoggers("TeamCity") - // https://github.com/xunit/visualstudio.xunit/pull/108 - .AddRunSetting("RunConfiguration.NoAutoReporters", bool.TrueString)) - .AddLoggers($"trx;LogFileName={v.Name}.trx") + // // https://github.com/Tyrrrz/GitHubActionsTestLogger + // .When(GitHubActions.Instance is not null && v.HasPackageReference("GitHubActionsTestLogger"), _ => _ + // .AddLoggers("GitHubActions;report-warnings=false")) + // // https://github.com/JetBrains/TeamCity.VSTest.TestAdapter + // .When(TeamCity.Instance is not null && v.HasPackageReference("TeamCity.VSTest.TestAdapter"), _ => _ + // .AddLoggers("TeamCity") + // // https://github.com/xunit/visualstudio.xunit/pull/108 + // .AddRunSetting("RunConfiguration.NoAutoReporters", bool.TrueString)) + // .AddLoggers($"trx;LogFileName={v.Name}.trx") .When(InvokedTargets.Contains((this as IReportCoverage)?.ReportCoverage) || IsServerBuild, _ => _ .SetCoverletOutput(TestResultDirectory / $"{v.Name}.xml")); From b8727e7937fa4ab71171eb1aa9cbabcad4484d79 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger | alu-one Date: Fri, 10 Jul 2026 11:40:46 +0200 Subject: [PATCH 20/23] Fix tests on windows --- tests/Fallout.Common.Specs/CISpecs.cs | 6 +++--- .../changelog_reference_NUKE_variant_1.verified.txt | 10 +++++----- .../changelog_reference_NUKE_variant_2.verified.txt | 8 ++++---- .../IO/FileSystemDependentSpecs.cs | 7 ++++++- 4 files changed, 18 insertions(+), 13 deletions(-) diff --git a/tests/Fallout.Common.Specs/CISpecs.cs b/tests/Fallout.Common.Specs/CISpecs.cs index a71f9a3cb..1bd358317 100644 --- a/tests/Fallout.Common.Specs/CISpecs.cs +++ b/tests/Fallout.Common.Specs/CISpecs.cs @@ -116,8 +116,8 @@ private static object CreateInstance(Type type) private static bool IsRunning(Type type) { - var property = type.GetProperty($"IsRunning{type.Name}", BindingFlags.NonPublic | BindingFlags.Static).NotNull(); - return (bool) property.GetValue(obj: null); + var property = type?.GetProperty($"IsRunning{type.Name}", BindingFlags.NonPublic | BindingFlags.Static).NotNull(); + return (bool?)property?.GetValue(obj: null) ?? false; } private class CITheoryAttribute : TheoryAttribute @@ -126,8 +126,8 @@ private class CITheoryAttribute : TheoryAttribute public CITheoryAttribute(Type type) { - Skip = !IsRunning(_type) ? $"Only applies to {_type.Name}." : null; _type = type; + Skip = !IsRunning(_type) ? $"Only applies to {_type.Name}." : null; } } } diff --git a/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_1.verified.txt b/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_1.verified.txt index c2b49667d..fa4b0d9c6 100644 --- a/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_1.verified.txt +++ b/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_1.verified.txt @@ -3,7 +3,7 @@ IsEmpty: true, Unreleased: true, Notes: [ - + ], StartIndex: 6, EndIndex: 7 @@ -15,7 +15,7 @@ Notes: [ - Added something, - Fixed something, - + ], StartIndex: 8, EndIndex: 11 @@ -26,7 +26,7 @@ Version: 1.2.2, Notes: [ - Fixed something, - + ], StartIndex: 12, EndIndex: 14 @@ -37,7 +37,7 @@ Version: 0.2.0, Notes: [ - Added something, - + ], StartIndex: 15, EndIndex: 17 @@ -54,4 +54,4 @@ StartIndex: 18, EndIndex: 21 } -] \ No newline at end of file +] diff --git a/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_2.verified.txt b/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_2.verified.txt index 8e7ed6050..163a6cd4d 100644 --- a/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_2.verified.txt +++ b/tests/Fallout.Common.Specs/ChangelogReferenceFiles/changelog_reference_NUKE_variant_2.verified.txt @@ -4,7 +4,7 @@ Unreleased: true, Notes: [ - Changed something, - + ], StartIndex: 6, EndIndex: 8 @@ -15,12 +15,12 @@ Version: 1.0.0, Notes: [ - Some text that spans, - multiple lines, + multiple lines, - A text on a single line, , - Added something, - Fixed something, - + ], StartIndex: 9, EndIndex: 16 @@ -39,4 +39,4 @@ StartIndex: 17, EndIndex: 22 } -] \ No newline at end of file +] diff --git a/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs b/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs index 277a61676..053de65d3 100644 --- a/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs +++ b/tests/Fallout.Utilities.Specs/IO/FileSystemDependentSpecs.cs @@ -2,6 +2,7 @@ using System.IO; using System.Linq; using System.Reflection; +using System.Text.RegularExpressions; using Fallout.Common; using Fallout.Common.IO; using Xunit; @@ -22,7 +23,11 @@ protected FileSystemDependentSpecs(ITestOutputHelper testOutputHelper) { TestOutputHelper = testOutputHelper; - TestName = TestContext.Current.Test?.TestDisplayName; + TestName = TestContext.Current.Test?.TestDisplayName ?? ""; + TestName = Regex.Replace(TestName, @"[<>:""/\\|?*\x00-\x1F]", "_").Trim().TrimEnd('.', ' '); + TestName = Regex.IsMatch(TestName, "^(CON|PRN|AUX|NUL|COM[1-9]|LPT[1-9])$", RegexOptions.IgnoreCase) + ? $"_{TestName}" + : TestName; ExecutionDirectory = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location).NotNull(); RootDirectory = Constants.TryGetRootDirectoryFrom(EnvironmentInfo.WorkingDirectory); From f265718ff652361d9c708c16800f694d43576d71 Mon Sep 17 00:00:00 2001 From: Lukas Gasselsberger | alu-one Date: Fri, 10 Jul 2026 11:55:41 +0200 Subject: [PATCH 21/23] Test --- .../Fallout.SourceGenerators.csproj | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Fallout.SourceGenerators/Fallout.SourceGenerators.csproj b/src/Fallout.SourceGenerators/Fallout.SourceGenerators.csproj index 4bb79c6b1..d6dcf39da 100644 --- a/src/Fallout.SourceGenerators/Fallout.SourceGenerators.csproj +++ b/src/Fallout.SourceGenerators/Fallout.SourceGenerators.csproj @@ -25,11 +25,13 @@ + + @@ -39,13 +41,14 @@ - - - - + + + + - + + From 3d71e869289f0737825e5297f8167712c7730a9a Mon Sep 17 00:00:00 2001 From: ITaluone <44049228+ITaluone@users.noreply.github.com> Date: Tue, 14 Jul 2026 09:12:34 +0200 Subject: [PATCH 22/23] Update global.json --- global.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/global.json b/global.json index 5bb49fea7..ca7702fc4 100644 --- a/global.json +++ b/global.json @@ -1,9 +1,6 @@ { "sdk": { - "version": "10.0.100", + "version": "10.0.301", "rollForward": "latestMinor" - }, - "test": { - "runner": "Microsoft.Testing.Platform" } } From ee2c542fd81bb25c15310b7cd23d500aa8626a9f Mon Sep 17 00:00:00 2001 From: ITaluone <44049228+ITaluone@users.noreply.github.com> Date: Tue, 14 Jul 2026 09:18:17 +0200 Subject: [PATCH 23/23] Update global.json --- global.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/global.json b/global.json index ca7702fc4..472c185ad 100644 --- a/global.json +++ b/global.json @@ -2,5 +2,8 @@ "sdk": { "version": "10.0.301", "rollForward": "latestMinor" + }, + "test": { + "runner": "Microsoft.Testing.Platform" } }