Title: `Start-PSBuild -Runtime` always defaults to x64 on Linux · Issue #17801 · PowerShell/PowerShell · GitHub
Open Graph Title: `Start-PSBuild -Runtime` always defaults to x64 on Linux · Issue #17801 · PowerShell/PowerShell
X Title: `Start-PSBuild -Runtime` always defaults to x64 on Linux · Issue #17801 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/17801
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Start-PSBuild -Runtime` always defaults to x64 on Linux","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://docs.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\nRun `Start-PSBuild` without `-Runtime` on Linux ARM, e.g. Raspberry Pi. It will successfully build, but throw a cryptic error when you try to run `pwsh`. This also breaks `Start-DevPowerShell`, as it tries always tries to run x64, even on ARM.\r\n\r\n### Expected behavior\r\n\r\n```console\r\nRuns `dotnet publish --runtime linux-arm64`\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nRuns `dotnet publish --runtime linux-x64`\r\n```\r\n\r\n\r\n### Error details\r\n\r\n_No response_\r\n\r\n### Environment data\r\n\r\n```powershell\r\nName Value \r\n---- ----- \r\nPSVersion 7.2.4 \r\nPSEdition Core \r\nGitCommitId 7.2.4 \r\nOS Linux 5.15.0-1011-raspi #13-Ubuntu SMP PREEMPT Thu Jun 2 11:44:34 UTC 2022 \r\nPlatform Unix \r\nPSCompatibleVersions {1.0, 2.0, 3.0, 4.0…} \r\nPSRemotingProtocolVersion 2.3 \r\nSerializationVersion 1.1.0.1 \r\nWSManStackVersion 3.0\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/dkaszews","@type":"Person","name":"dkaszews"},"datePublished":"2022-07-29T13:54:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/17801/PowerShell/issues/17801"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e5b9ea11-2b48-93fc-6bfa-a19380f0f58a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 82A2:262D17:4174EF1:5AE4296:6A54DBFB |
| html-safe-nonce | 5a846426b521cda414a855512f3f09d51951945421a6cc519e89974361167222 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkEyOjI2MkQxNzo0MTc0RUYxOjVBRTQyOTY6NkE1NERCRkIiLCJ2aXNpdG9yX2lkIjoiNDk1MTQzMjg3OTgxMTEyNDIxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 60f8f88453773404a04c122e95d11d0bf129cc5c0f10ba3eba2292f8b13097e2 |
| hovercard-subject-tag | issue:1322284066 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/17801/issue_layout |
| twitter:image | https://opengraph.githubassets.com/328546021978c48bc4c4807c73a902fdc13e7638f42d6cf01b4157a6a098d08b/PowerShell/PowerShell/issues/17801 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/328546021978c48bc4c4807c73a902fdc13e7638f42d6cf01b4157a6a098d08b/PowerShell/PowerShell/issues/17801 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dkaszews |
| hostname | github.com |
| expected-hostname | github.com |
| None | a556215b071af6609619e2bbe6f00bdfbf0812ad723b1ae6c301858a7a829f54 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 00f21e38abd06cd6752db5c227083570f72fdb6c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width