Skip to content

Small enhancements for VS profile generation #19025

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

Merged

Conversation

reynoldskr
Copy link
Contributor

@reynoldskr reynoldskr commented Jun 12, 2025

Summary of the Pull Request

  • Make PowerShell profile generation try to find pwsh.exe before falling back to legacy powershell
  • Make profiles generated on an arm64 host work properly

Validation Steps Performed

  • Local build ran
  • Verified the new arm64 profile works
  • Verified pwsh.exe is used if present
  • Verified powershell.exe is used if pwsh is not present in path
  • Verified we don't attempt to create arm64 host cmd/pwsh profiles if VS is not >= 17.4 (thanks @DHowett)

@reynoldskr reynoldskr force-pushed the dev/reynoldskr/vs_profile_fix_arm64 branch from 23186b5 to 1142b6c Compare June 12, 2025 21:39
@DHowett
Copy link
Member

DHowett commented Jun 13, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DHowett
Copy link
Member

DHowett commented Jun 13, 2025

ah, clang-format is of course upset

@reynoldskr
Copy link
Contributor Author

/azp run

Copy link

Commenter does not have sufficient privileges for PR 19025 in repo microsoft/terminal

@DHowett
Copy link
Member

DHowett commented Jun 13, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DHowett
Copy link
Member

DHowett commented Jun 13, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@DHowett
Copy link
Member

DHowett commented Jun 13, 2025

Hmm. It's running, it just isn't reporting status properly.

@reynoldskr
Copy link
Contributor Author

Looks like it all finished now?

@DHowett DHowett merged commit bb62ce9 into microsoft:main Jun 13, 2025
14 checks passed
@github-project-automation github-project-automation bot moved this to To Cherry Pick in 1.22 Servicing Pipeline Jun 13, 2025
@github-project-automation github-project-automation bot moved this to To Cherry Pick in 1.23 Servicing Pipeline Jun 13, 2025
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.22 Servicing Pipeline Jun 17, 2025
DHowett pushed a commit that referenced this pull request Jun 17, 2025
* Make PowerShell profile generation try to find `pwsh.exe` before
falling back to legacy powershell
* Make profiles generated on an `arm64` host work properly

## Validation Steps Performed

* Local build ran
* Verified the new `arm64` profile works
* Verified `pwsh.exe` is used if present
* Verified `powershell.exe` is used if `pwsh` is not present in path
* Verified we don't attempt to create `arm64` host cmd/pwsh profiles if
VS is not >= 17.4

(cherry picked from commit bb62ce9)
Service-Card-Id: PVTI_lADOAF3p4s4AmhmQzgbeRwk
Service-Version: 1.22
@DHowett DHowett moved this from To Cherry Pick to Cherry Picked in 1.23 Servicing Pipeline Jun 17, 2025
DHowett pushed a commit that referenced this pull request Jun 17, 2025
* Make PowerShell profile generation try to find `pwsh.exe` before
falling back to legacy powershell
* Make profiles generated on an `arm64` host work properly

## Validation Steps Performed

* Local build ran
* Verified the new `arm64` profile works
* Verified `pwsh.exe` is used if present
* Verified `powershell.exe` is used if `pwsh` is not present in path
* Verified we don't attempt to create `arm64` host cmd/pwsh profiles if
VS is not >= 17.4

(cherry picked from commit bb62ce9)
Service-Card-Id: PVTI_lADOAF3p4s4AxadtzgbeRwg
Service-Version: 1.23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Cherry Picked
Status: Cherry Picked
Development

Successfully merging this pull request may close these issues.

2 participants