command-line-api
command-line-api copied to clipboard
Use NetMinimum and NetFrameworkMinimum floating TFMs
-
By using NetMinimum and NetFrameworkMinimum as the TFM properties, the command-line-api build will automatically target the minimum in-support version of .NET and .NET Framework.
-
Upgrade the TFM to net8.0 as net7.0 is already out-of-support and Tactics (leadership) asked repositories to move away from net7.0 in the main branch (which targets the .NET 9 release in November 2024).
-
Clean-up a few unnecessary msbuild properties and simplify items.
-
Clean-up the #if NETX compiler preprocessor directives.
So the ApprovalTests dependency update caused the baseline to be incorrect. I think this is due to a change in their implementation. Meaning, we will need to re-generate the baseline files as part of this PR.