Skip to content

[MCP Server]: Non -SDK-style projects not supported #14770

@madskristensen

Description

@madskristensen

Issue Type

Bug

MCP Server Package Version

No response

.NET Version

.NET Framework 4.8

Environment

  • Visual Studio
  • VS Code
  • GitHub Copilot Coding Agent
  • CLI
  • Other (please specify below)

If "Other", please specify

No response

Prompt or Input

Install NuGet package xyz

Expected Response

The package being installed

Actual Response

The response is that the .csproj file is being edited with invalid XML leading the project to being unloaded in VS. In injects '\ between two package references. The only way to fix it is to open the .csproj in an external editor and fix the syntax error. Then manual install the nuget package before letting Copilot to continue.

Additional Context or Description

I don't know if this is the NuGet MCP server or Copilot in general that causes this issue, but it seem that if NuGet MCP supported non-SDK-style .NET Full Framework projects then it would be fixed.

Metadata

Metadata

Assignees

Labels

Priority:3Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog.Product:MCPServerThe Model Context Protocol (MCP) ServerType:Feature

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions