Content-Length: 235113 | pFad | http://github.com/modelcontextprotocol/csharp-sdk/issues/426

AB Out-of-sync Nuget Packages and Samples Projects -- Sample Projects Use Project References Instead of Nuget · Issue #426 · modelcontextprotocol/csharp-sdk · GitHub
Skip to content

Out-of-sync Nuget Packages and Samples Projects -- Sample Projects Use Project References Instead of Nuget #426

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

Closed
kp2eukodyne opened this issue May 16, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@kp2eukodyne
Copy link

Describe the bug
QuickstartWeatherServer project uses a reference to ModelContextProtocol project within the solution which differs from what is available via Nuget as ModelContextProtocol package. The solution project offers extensions which are not there in the Nuget package. So, the project will not build if I don't use the custom implementation of ModelContextProtocol project within a solution.

This is confusing and inconvenient when I try to create my own project using the Nuget packages that don't have what this custom ModelContextProtocol project has.

To Reproduce
Steps to reproduce the behavior:

  1. Open the main ModelContextProtocol solution in VS2022.
  2. Find QuickStartWeatherServer project. Check Dependencies / Projects. There should be no projects there.
  3. Try to remove the project dependency and install the Nuget packages ModelContextProtocol and ModelContextProtocol.AspNetCore and the solution will not build.

Expected behavior
I want to be able to see examples from your projects with Nuget packages just the way you want me to do it in my project.

Logs
N/A

Additional context
These dependencies in Samples force us, developers, to do the same and to bypass your Nuget packages. That is not good. You should not be referencing a custom implementation in the Samples which doesn't align with your package in Nuget. This applies to all Samples.

@kp2eukodyne kp2eukodyne added the bug Something isn't working label May 16, 2025
@kp2eukodyne
Copy link
Author

I am trying to use Samples without the custom ModelContextProtocol but with Nuget packages with version 0.2.0-preview.1. This was the latest I saw.

@kp2eukodyne
Copy link
Author

I was able to resolve the broken references with getting the extensions copied for the weather server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/modelcontextprotocol/csharp-sdk/issues/426

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy