command-line-api icon indicating copy to clipboard operation
command-line-api copied to clipboard

Use NetMinimum and NetFrameworkMinimum floating TFMs

Open ViktorHofer opened this issue 1 year ago • 1 comments

  1. 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.

  2. 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).

  3. Clean-up a few unnecessary msbuild properties and simplify items.

  4. Clean-up the #if NETX compiler preprocessor directives.

ViktorHofer avatar Feb 23 '24 10:02 ViktorHofer

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.

ViktorHofer avatar Feb 23 '24 14:02 ViktorHofer