diff --git a/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/McpServer-CSharp.csproj.in b/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/McpServer-CSharp.csproj.in index 2eca37df228..7e21ac65f4c 100644 --- a/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/McpServer-CSharp.csproj.in +++ b/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/McpServer-CSharp.csproj.in @@ -1,12 +1,17 @@ - net8.0 + net9.0 Major Exe enable enable + + win-x64;win-arm64;linux-x64;linux-musl-x64;linux-arm64;osx-arm64 + true + true + true McpServer diff --git a/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/README.md b/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/README.md index cb11ac30eb5..12b110d8531 100644 --- a/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/README.md +++ b/src/ProjectTemplates/Microsoft.Extensions.AI.Templates/src/McpServer/McpServer-CSharp/README.md @@ -14,7 +14,9 @@ Please note that this template is currently in an early preview stage. If you ha - See [configuring inputs](https://aka.ms/nuget/mcp/guide/configuring-inputs) for more details. - Pack the project using `dotnet pack`. -The `bin/Release` directory will contain the package file (.nupkg), which can be [published to NuGet.org](https://learn.microsoft.com/nuget/nuget-org/publish-a-package). +The `bin/Release` directory will contain the package files (*.nupkg), which can be [published to NuGet.org](https://learn.microsoft.com/nuget/nuget-org/publish-a-package). + +One .nupkg will be produced for each runtime identifier you selected in the `` property in the .csproj, plus a "root" .nupkg containing pointers to the others. For more information about runtime identifiers in .NET, see the [.NET RID catalog](https://learn.microsoft.com/dotnet/core/rid-catalog). ## Developing locally diff --git a/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/README.md b/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/README.md index a0bf0fc082d..7104e80c068 100644 --- a/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/README.md +++ b/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/README.md @@ -14,7 +14,9 @@ Please note that this template is currently in an early preview stage. If you ha - See [configuring inputs](https://aka.ms/nuget/mcp/guide/configuring-inputs) for more details. - Pack the project using `dotnet pack`. -The `bin/Release` directory will contain the package file (.nupkg), which can be [published to NuGet.org](https://learn.microsoft.com/nuget/nuget-org/publish-a-package). +The `bin/Release` directory will contain the package files (*.nupkg), which can be [published to NuGet.org](https://learn.microsoft.com/nuget/nuget-org/publish-a-package). + +One .nupkg will be produced for each runtime identifier you selected in the `` property in the .csproj, plus a "root" .nupkg containing pointers to the others. For more information about runtime identifiers in .NET, see the [.NET RID catalog](https://learn.microsoft.com/dotnet/core/rid-catalog). ## Developing locally diff --git a/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/mcpserver.csproj b/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/mcpserver.csproj index 468230d16e4..1f3f1ddac14 100644 --- a/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/mcpserver.csproj +++ b/test/ProjectTemplates/Microsoft.Extensions.AI.Templates.IntegrationTests/Snapshots/mcpserver.Basic.verified/mcpserver/mcpserver.csproj @@ -1,12 +1,17 @@  - net8.0 + net9.0 Major Exe enable enable + + win-x64;win-arm64;linux-x64;linux-musl-x64;linux-arm64;osx-arm64 + true + true + true McpServer