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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

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 this does not turn on netfx testing on Windows due to #587

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