Skip to content

Commit 0ba0689

Browse files
authored
Use dnx instead of dotnet tool exec in template README (#6571)
1 parent 9344962 commit 0ba0689

File tree

2 files changed

+2
-6
lines changed
  • src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp
  • test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver

2 files changed

+2
-6
lines changed

src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ Once the MCP server package is published to NuGet.org, you can use the following
2424
"servers": {
2525
"McpServer-CSharp": {
2626
"type": "stdio",
27-
"command": "dotnet",
27+
"command": "dnx",
2828
"args": [
29-
"tool",
30-
"exec",
3129
"<your package ID here>",
3230
"--version",
3331
"<your package version here>",

test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ Once the MCP server package is published to NuGet.org, you can use the following
2424
"servers": {
2525
"mcpserver": {
2626
"type": "stdio",
27-
"command": "dotnet",
27+
"command": "dnx",
2828
"args": [
29-
"tool",
30-
"exec",
3129
"<your package ID here>",
3230
"--version",
3331
"<your package version here>",

0 commit comments

Comments
 (0)