Skip to content

Separate ASP.NET Core tests into a distinct project and make the main test project netfx compatible. #254

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
Contributor

No description provided.

@eiriktsarpalis eiriktsarpalis force-pushed the separate-aspnet-tests branch from cd7719e to 01ed88d Compare April 9, 2025 17:44
Copy link
Contributor

@halter73 halter73 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error: /home/runner/work/csharp-sdk/csharp-sdk/tests/ModelContextProtocol.AspNetCore.Tests/SseIntegrationTests.cs(13,7): error CS0246: The type or namespace name 'TestServerWithHosting' could not be found (are you missing a using directive or an assembly reference?) [/home/runner/work/csharp-sdk/csharp-sdk/tests/ModelContextProtocol.AspNetCore.Tests/ModelContextProtocol.AspNetCore.Tests.csproj::TargetFramework=net9.0]

Sorry about that. This got added right before you pushed this PR. Feel free to copy the EchoTool and SampleLlmTool into the ModelContextProtocol.AspNetCore.Tests project. I probably should have done that to begin with.

@eiriktsarpalis eiriktsarpalis marked this pull request as ready for review April 9, 2025 17:57
@eiriktsarpalis eiriktsarpalis merged commit 39ab6cd into modelcontextprotocol:main Apr 9, 2025
7 of 8 checks passed
@eiriktsarpalis eiriktsarpalis deleted the separate-aspnet-tests branch April 9, 2025 18:16
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