Changes in v5.22

- Added MCP Server for both IDE integrated and headless AI agent interaction
- Updated NCrunch to Rider 2026.2
- Fixed engine rebuilding and rerunning tests when opening or closing source files without carriage returns.
- Fixed an issue where moving a source file under VS could result in a duplicated coverage bar.
- Fixed a potential exception that can be thrown during RDI instrumentation.
- Rider: Fixed exceptions intermittently thrown when closing editor windows
- Added support for MSTest DataRow collection expressions.
- Fixed build engine settings change issue that could cause exceptions to be thrown in the engine.
- Fixed Tests Window trace output pane scrollbar becoming misaligned when the splitter was moved.
- Rider: Fixed Break Into line with debugger feature just hanging and not running the test
- Disabled CPU affinity control for the Rider IDE, as the IDE does not play well with this and intermittently freezes when it does not have all CPU cores assigned to it. The CPU core assignment for IDE setting still exists but it is no longer effective when running under Rider.
- Fixed a command line setting validation issue that could cause the engine to become unstable if invalid parameters were passed to the console tool.
- Rider: Implemented changes to marker image buffering to fix thread safety issues that might be responsible for destabilising or freezing the UI intermittently.
- Rider: Fixed project file encoding being incorrectly established for newly added projects in the solution
- Fixed an issue that would cause grid node x86 build and test runners to hang when the 'Control cores used for test execution' setting was enabled and attempts were made to allocate to core IDs above 31.
- Fixed an issue where collapsed Xunit3 tests could hide fail results depending on their execution order.
- Adjusted the build runner so that DOTNET_HOST_PATH is provided to MSBuild when working with newer versions of .NET. This should resolve build problems for F# projects when using a Build SDK that targets a non-VS version of MSBuild.
- Fixed an issue that was preventing NCrunch from correctly resolving project references where the referenced project had multiple compatible target frameworks.
- Adjusted NCrunch's deps resolution builds so that they now consider the global.json file for applicable projects. This should help to provide more reliable backwards compatibility for older toolsets.
- Rider: Fixed project file encoding being incorrectly established for newly added projects in the solution
- Fixed an issue where the encoding of directory.props files was not being correctly established