Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[DRAFT] Use runtime specific, self-contained packages, target .NET 9#6645

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
joelverhagen wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromjver/self-contained

Conversation

@joelverhagen
Copy link
Member

@joelverhagenjoelverhagen commentedJul 22, 2025
edited by dotnet-policy-servicebot
Loading

Resolve#6560.

This uses the new RID-specific tool packages feature to reduce runtime compatibility issues to "all you need isdnx".

I switched to .NET 9.0 to avoid trimming warnings related to System.Text.Json in .NET 8.

I selected the list of RIDs based on .NET SDK telemetry on thetool verb.

Microsoft Reviewers:Open in CodeFlow

CopilotAI review requested due to automatic review settingsJuly 22, 2025 22:18
@joelverhagenjoelverhagen requested a review froma team as acode ownerJuly 22, 2025 22:18
@joelverhagenjoelverhagen marked this pull request as draftJuly 22, 2025 22:18
@github-actionsgithub-actionsbot added the area-ai-templatesMicrosoft.Extensions.AI.Templates labelJul 22, 2025
Copy link
Contributor

CopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the MCP server project template to target .NET 9.0 and configures runtime-specific, self-contained packages to improve compatibility and reduce deployment dependencies. The changes enable the creation of multiple platform-specific NuGet packages that include all necessary runtime components.

Key changes:

  • Upgrade target framework from .NET 8.0 to .NET 9.0
  • Add runtime identifier configuration for major platforms (Windows, Linux, macOS on x64/ARM64)
  • Enable self-contained publishing with trimming optimizations
  • Update documentation to explain the new multi-package output structure

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

FileDescription
McpServer-CSharp.csproj.inTemplate project file updated with .NET 9.0 target, runtime identifiers, and self-contained publishing settings
mcpserver.csprojIntegration test snapshot reflecting the same project configuration changes
README.md (template)Updated documentation explaining the new multi-package output structure and runtime identifier concepts
README.md (test snapshot)Integration test snapshot of the updated documentation

joelverhagenand others added2 commitsJuly 22, 2025 18:22
…Server/McpServer-CSharp/README.mdCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ationTests/Snapshots/mcpserver.Basic.verified/mcpserver/README.mdCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

Copilot code reviewCopilotCopilot left review comments

At least 1 approving review is required to merge this pull request.

Assignees

@joelverhagenjoelverhagen

Labels

area-ai-templatesMicrosoft.Extensions.AI.Templates

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Improve the MCP server template to produce self-contained packages

2 participants

@joelverhagen

[8]ページ先頭

©2009-2025 Movatter.jp