-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add Visual Studio 2026 support in CI pipelines and CLI #15415
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 2 commits
848960a
0a24e61
47208e2
e3788e6
936bf70
ed042d7
3807d86
c21e9d6
466d3fd
ca2352b
12a58bb
823bed7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| { | ||
| "imageType": "Managed", | ||
| "baseImage": "/MicrosoftWindowsServer/WindowsServer/2022-datacenter/latest", | ||
| "artifacts": [ | ||
| { | ||
| "name": "windows-EnableDeveloperMode" | ||
| }, | ||
| { | ||
| "name": "windows-enable-long-paths" | ||
| }, | ||
| { | ||
| "name": "windows-gitinstall" | ||
| }, | ||
| { | ||
| "name": "windows-AzPipeline-ImageHelpers" | ||
| }, | ||
| { | ||
| "name": "windows-AzPipeline-InitializeVM" | ||
| }, | ||
| { | ||
| "name": "windows-AzPipeline-powershellCore" | ||
| }, | ||
| { | ||
| "name": "windows-AzPipeline-7zip" | ||
| }, | ||
| { | ||
| "name": "windows-visualstudio-bootstrapper", | ||
| "parameters": { | ||
| "Workloads": "--add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.Universal --add Microsoft.Component.MSBuild --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.ComponentGroup.UWP.Support --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core --add Microsoft.VisualStudio.Component.Windows10SDK.19041 Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.ComponentGroup.UWP.VC --includeRecommended --includeOptional", | ||
| "SKU": "Enterprise", | ||
| "VSBootstrapperURL": "https://aka.ms/vs/18/release/vs_Enterprise.exe" | ||
| } | ||
| }, | ||
| { | ||
| "name": "Windows-NodeJS", | ||
| "parameters": { | ||
| "Version": "22.14.0" | ||
| } | ||
| }, | ||
| { | ||
| "name": "windows-npm-global", | ||
| "parameters": { | ||
| "packages": "[email protected], [email protected], [email protected]", | ||
| "addToPath": true | ||
| } | ||
| }, | ||
| { | ||
| "name": "windows-chrome" | ||
| }, | ||
| { | ||
| "name": "windows-AzPipeline-WinAppDriver" | ||
| }, | ||
| { | ||
| "name": "windows-dotnetcore-sdk", | ||
| "parameters": { | ||
| "DotNetCoreVersion": "3.1.425" | ||
| } | ||
| }, | ||
| { | ||
| "name": "windows-dotnetcore-sdk", | ||
| "parameters": { | ||
| "DotNetCoreVersion": "8.0.413" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ variables: | |
| - group: RNW Secrets | ||
|
|
||
| pool: | ||
| vmImage: windows-2022 | ||
| vmImage: windows-2025 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is it windows-2025 instead of 2026
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| jobs: | ||
| - job: IntegrateRN | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| steps: | ||
|
|
||
| - powershell: | | ||
| $vsExtensionPath="${env:ProgramFiles}\Microsoft Visual Studio\2022\Enterprise\Common7\IDE\Extensions\"; | ||
| $vsExtensionPath="${env:ProgramFiles}\Microsoft Visual Studio\2026\Enterprise\Common7\IDE\Extensions\"; | ||
|
||
| $GoogleTestAdapterPath=(Get-ChildItem $vsExtensionPath -Directory | Where-Object -FilterScript {Test-Path (Join-Path -Path $_.FullName -ChildPath "GoogleTestAdapter.Core.dll")}).FullName | ||
| # Test the path to the google test adapter | ||
|
|
||

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the correct URL for getting the VS exe file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes,
https://aka.ms/vs/18/release/vs_Enterprise.exefollows the standard VS bootstrapper URL format where the version number (18) corresponds to VS2026. This is consistent with previous versions like VS2022 usingaka.ms/vs/17/release/.