From 8c0380b6bf2ba88730a926cdb5423f86d7b9c227 Mon Sep 17 00:00:00 2001 From: "phares@iscn5cg20977xq" Date: Thu, 20 Nov 2025 16:10:39 -0700 Subject: [PATCH] Update target framework to net10.0 and upgrade package references in MET08DDUPSP1TBI.Tests.csproj; adjust diagnostics in .editorconfig and tasks.json --- Adaptation/.editorconfig | 4 ++- Adaptation/.vscode/tasks.json | 2 +- Adaptation/MET08DDUPSP1TBI.Tests.csproj | 43 ++++++++++++------------- 3 files changed, 25 insertions(+), 24 deletions(-) diff --git a/Adaptation/.editorconfig b/Adaptation/.editorconfig index e393d5b..5c6cbd7 100644 --- a/Adaptation/.editorconfig +++ b/Adaptation/.editorconfig @@ -107,6 +107,7 @@ dotnet_diagnostic.CA1864.severity = none # CA1864: To avoid double lookup, call dotnet_diagnostic.CA1866.severity = none # CA1866: Use 'string.EndsWith(char)' instead of 'string.EndsWith(string)' when you have a string with a single char dotnet_diagnostic.CA1869.severity = none # CA1869: Avoid creating a new 'JsonSerializerOptions' instance for every serialization operation. Cache and reuse instances instead. dotnet_diagnostic.CA2254.severity = none # CA2254: The logging message template should not vary between calls to 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' +dotnet_diagnostic.CS0618.severity = none # 'member' is obsolete: 'description' dotnet_diagnostic.IDE0001.severity = warning # IDE0001: Simplify name dotnet_diagnostic.IDE0002.severity = warning # Simplify (member access) - System.Version.Equals("1", "2"); Version.Equals("1", "2"); dotnet_diagnostic.IDE0004.severity = warning # IDE0004: Cast is redundant. @@ -123,8 +124,9 @@ dotnet_diagnostic.IDE0300.severity = none # IDE0300: Collection initialization c dotnet_diagnostic.IDE0301.severity = none #IDE0301: Collection initialization can be simplified dotnet_diagnostic.IDE0305.severity = none # IDE0305: Collection initialization can be simplified dotnet_diagnostic.MSTEST0015.severity = none # MSTEST0015: Test method {method} should not be ignored -dotnet_diagnostic.MSTEST0037.severity = error # MSTEST0037: Use proper 'Assert' methods +dotnet_diagnostic.MSTEST0037.severity = none # MSTEST0037: Use proper 'Assert' methods dotnet_diagnostic.SYSLIB1045.severity = none # SYSLIB1045: diagnostics for regex source generation +dotnet_diagnostic.MSTEST0048.severity = none # MSTEST0048: Test method '{method}' should be attributed with 'DataTestMethod' when using 'DataRow' attributes dotnet_naming_rule.abstract_method_should_be_pascal_case.severity = warning dotnet_naming_rule.abstract_method_should_be_pascal_case.style = pascal_case dotnet_naming_rule.abstract_method_should_be_pascal_case.symbols = abstract_method diff --git a/Adaptation/.vscode/tasks.json b/Adaptation/.vscode/tasks.json index 13003fa..fefb884 100644 --- a/Adaptation/.vscode/tasks.json +++ b/Adaptation/.vscode/tasks.json @@ -216,7 +216,7 @@ { "label": "File-Folder-Helper AOT s X Day-Helper-2025-03-20", "type": "shell", - "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net8.0/win-x64/publish/File-Folder-Helper.exe", + "command": "L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net10.0/win-x64/publish/File-Folder-Helper.exe", "args": [ "s", "X", diff --git a/Adaptation/MET08DDUPSP1TBI.Tests.csproj b/Adaptation/MET08DDUPSP1TBI.Tests.csproj index bd3a1f1..716a611 100644 --- a/Adaptation/MET08DDUPSP1TBI.Tests.csproj +++ b/Adaptation/MET08DDUPSP1TBI.Tests.csproj @@ -10,7 +10,7 @@ false disable win-x64 - net8.0 + net10.0 trx @@ -35,8 +35,8 @@ - - + + NU1701 NU1701 NU1701 @@ -44,29 +44,28 @@ NU1701 NU1701 NU1701 - - - - - - - - - - - - - - + + + + + + + + + + + + + + NU1701 - - - - - + + + + NU1701