Update

Add end-to-end tests for framework incompatibility error

copilot-swe-agent[bot]
2 months ago

Commit: 0c2384b

Date: November 12, 2025 at 3:39 PM

Added three end-to-end tests that verify the improved error message when installing/running a tool targeting net99.0:

  • InstallToolWithHigherFrameworkAsGlobalToolShowsAppropriateError: Tests global tool installation
  • InstallToolWithHigherFrameworkAsLocalToolShowsAppropriateError: Tests local tool installation
  • RunToolWithHigherFrameworkUsingDnxShowsAppropriateError: Tests running tool with dnx

The tests create a minimal .nupkg with net99.0 framework and verify that the error message includes helpful information about the version mismatch.

Co-authored-by: dsplaisted <145043+dsplaisted@users.noreply.github.com>