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

Add Visual Studio 2026 support to InstallVisualStudio.ps1#64406

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
Copilot wants to merge3 commits intomain
base:main
Choose a base branch
Loading
fromcopilot/update-build-instructions-vs-2026

Conversation

Copy link
Contributor

CopilotAI commentedNov 17, 2025
edited
Loading

Add Visual Studio 2026 support to InstallVisualStudio.ps1

  • You've read theContributor Guide andCode of Conduct.
  • You've included unit or integration tests for your change, where applicable.
  • You've included inline docs for your change, where applicable.
  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

Enable VS 2026 installation via build-from-source script

Description

TheInstallVisualStudio.ps1 script only supported VS 2022. This adds VS 2026 support following the existing pattern where VS 2022 maps to internal version 17.

Script changes:

  • Added'2026' to Version parameter ValidateSet
  • Map VS 2026 → internal version 18
  • Updated path prefix logic to handle version 18
  • Updated parameter documentation

Response files:
Created six VS 2026 JSON configuration files (vs.18.*.json) mirroring the VS 2022 structure:

  • Release, Preview, and IntPreview channels for both full editions and BuildTools
  • Channel URIs point tohttps://aka.ms/vs/18/{channel}/channel
  • Channel IDs useVisualStudio.18.{Channel} format

No changes to existing VS 2022 functionality.

Fixes#64405

Original prompt

This section details on the original issue you should resolve

<issue_title>Build from source instructions need to be updated for VS 2026</issue_title>
<issue_description>Instructions here:https://github.com/dotnet/aspnetcore/blob/main/docs/BuildFromSource.md

Specifically, theInstallVisualStudio.ps1 script needs to be updated to support 2026. It only allows VS 2022.</issue_description>

Comments on the Issue (you are@copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn moreCopilot coding agent tips in the docs.

@dotnet-policy-service
Copy link
Contributor

Greetings human! You've submitted a PR that modifies code that is shared withhttps://github.com/dotnet/runtime . Please make sure you synchronize this code with the changes in that repo!

Co-authored-by: adityamandaleeka <219224+adityamandaleeka@users.noreply.github.com>
CopilotAI changed the title[WIP] Update build from source instructions for Visual Studio 2026Add Visual Studio 2026 support to InstallVisualStudio.ps1Nov 17, 2025
Copilot finished work on behalf ofadityamandaleekaNovember 17, 2025 23:03
@adityamandaleeka
Copy link
Member

@copilot the internal number for VS2026 is 18, not 19.

Co-authored-by: adityamandaleeka <219224+adityamandaleeka@users.noreply.github.com>
Copy link
ContributorAuthor

@copilot the internal number for VS2026 is 18, not 19.

Corrected to version 18. Updated the version mapping in InstallVisualStudio.ps1 and renamed all JSON files from vs.19.* to vs.18.* with updated channel URIs and IDs. Commit:9c0c236

"Microsoft.VisualStudio.Component.VC.ATL.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.VC.14.29.16.11.ARM64",
Copy link
Member

Choose a reason for hiding this comment

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

Where did these numbers come from?

Choose a reason for hiding this comment

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

Copy link
Member

@wtgodbewtgodbe left a comment

Choose a reason for hiding this comment

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

LGTM if it works locally

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@wtgodbewtgodbewtgodbe approved these changes

@adityamandaleekaadityamandaleekaAwaiting requested review from adityamandaleeka

+1 more reviewer

@ladeakladeakladeak approved these changes

Reviewers whose approvals may not affect merge requirements

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Build from source instructions need to be updated for VS 2026

4 participants

@adityamandaleeka@ladeak@wtgodbe

[8]ページ先頭

©2009-2025 Movatter.jp