Skip to content

Enable netfx testing. #588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

eiriktsarpalis
Copy link
Member

@eiriktsarpalis eiriktsarpalis commented Jul 4, 2025

This PR attempts to turn on netfx testing for the main ModelContextProtocol.Tests project. Makes the following changes:

  1. Polyfills the StreamReader implementation from .NET Core so that cancellable ReadLine() calls are supported, preventing deadlocks during disposal.
  2. Turns on netfx testing for non-Windows platforms using mono.

Note that some tests have been disabled on netfx (but not on mono) due to #587

@eiriktsarpalis eiriktsarpalis marked this pull request as ready for review July 7, 2025 15:48
@eiriktsarpalis eiriktsarpalis merged commit aa75f6f into modelcontextprotocol:main Jul 8, 2025
7 checks passed
@eiriktsarpalis eiriktsarpalis deleted the enable-netfx-testing branch July 8, 2025 15:50
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