Skip to content

Conversation

@0xced
Copy link

@0xced 0xced commented Jun 22, 2024

  • Drop out of support frameworks in test projects
  • Update Microsoft.NET.Test.Sdk and xunit packages to their latest versions and remove transitive dependencies (such as Newtonsoft.Json and Microsoft.AspNet.WebApi.Client) from test projects.
  • Drop conditional targeting on (non test) projects

Targeting .NET Framework on Linux and macOS works fine since the .NET 5 SDK.

Note: dropping conditional targeting is required for the CacheCow.Server.WebApi project to build on Linux and macOS.

0xced added 2 commits June 22, 2024 14:10
Also simplify conditional framework targeting by _adding_ net462 to the $(TargetFrameworks) on Windows only instead of _repeating_ the supported target frameworks.
Targeting .NET Framework on Linux and macOS works fine [since the .NET 5 SDK][1].

Note: this is required for the CacheCow.Server.WebApi project to build on Linux and macOS.

[1]: dotnet/sdk#4009 (comment)
…ions

Also remove the transitive dependencies (e.g. Newtonsoft.Json, Microsoft.AspNet.WebApi.Client) from test projects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant