Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Feb 9, 2026

MSTest 4.1.0 Upgrade

Updated MSTest dependencies to resolve test discovery issues when upgrading from SDK 4.0.2.

Changes:

  • MSTest.Sdk: 4.0.2 → 4.1.0 (global.json)
  • MSTest.TestFramework: 4.0.2 → 4.1.0 (FeatureSwitches.MSTest.csproj)

MSTest 4.1.0 fixed property initialization in TestMethodAttribute derivatives (PR #7241), which was breaking discovery. Both SDK and framework packages must be kept in sync.

The existing FeatureTestMethodAttribute implementation already follows the MSTest 4.x pattern with CallerFilePath/CallerLineNumber constructor parameters.

Package Version Bump

Updated FeatureSwitches.MSTest package version from 10.0.0 to 10.1.0 to reflect the MSTest dependency upgrade.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

- Updated MSTest.TestFramework to 4.1.0 in FeatureSwitches.MSTest.csproj
- Updated MSTest.Sdk to 4.1.0 in global.json
- All tests discovered and passing with MSTest 4.1.0

Co-authored-by: jr01 <2624681+jr01@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix test discovery issue after MSTest SDK update Update MSTest to 4.1.0 to fix test discovery Feb 9, 2026
Copilot AI requested a review from jr01 February 9, 2026 15:33
Co-authored-by: jr01 <2624681+jr01@users.noreply.github.com>
Copilot AI changed the title Update MSTest to 4.1.0 to fix test discovery Update MSTest to 4.1.0 and bump package version to 10.1.0 Feb 9, 2026
@jr01 jr01 marked this pull request as ready for review February 9, 2026 15:53
@jr01 jr01 merged commit d8c0d01 into main Feb 9, 2026
1 check passed
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.

2 participants