Title: Running 'pwsh.exe' from the parent folder of 'publish' after 'Start-PSBuild -Clean' fails · Issue #5783 · PowerShell/PowerShell · GitHub
Open Graph Title: Running 'pwsh.exe' from the parent folder of 'publish' after 'Start-PSBuild -Clean' fails · Issue #5783 · PowerShell/PowerShell
X Title: Running 'pwsh.exe' from the parent folder of 'publish' after 'Start-PSBuild -Clean' fails · Issue #5783 · PowerShell/PowerShell
Description: Steps to reproduce > Start-PSBuild -Clean > Get-PSOptions E:\PowerShell\src\powershell-win-core\bin\Debug\netcoreapp2.0\win7-x64\publish\pwsh.exe ## Run the 'pwsh.exe' from the parent folder of 'publish' > E:\PowerShell\src\powershell-wi...
Open Graph Description: Steps to reproduce > Start-PSBuild -Clean > Get-PSOptions E:\PowerShell\src\powershell-win-core\bin\Debug\netcoreapp2.0\win7-x64\publish\pwsh.exe ## Run the 'pwsh.exe' from the parent folder of 'pu...
X Description: Steps to reproduce > Start-PSBuild -Clean > Get-PSOptions E:\PowerShell\src\powershell-win-core\bin\Debug\netcoreapp2.0\win7-x64\publish\pwsh.exe ## Run the 'pwsh.exe' from the parent...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/5783
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Running 'pwsh.exe' from the parent folder of 'publish' after 'Start-PSBuild -Clean' fails","articleBody":"Steps to reproduce\r\n------------------\r\n\r\n```powershell\r\n\u003e Start-PSBuild -Clean\r\n\u003e Get-PSOptions\r\nE:\\PowerShell\\src\\powershell-win-core\\bin\\Debug\\netcoreapp2.0\\win7-x64\\publish\\pwsh.exe\r\n## Run the 'pwsh.exe' from the parent folder of 'publish'\r\n\u003e E:\\PowerShell\\src\\powershell-win-core\\bin\\Debug\\netcoreapp2.0\\win7-x64\\pwsh.exe\r\n```\r\n\r\nExpected behavior\r\n-----------------\r\n\r\nShould work. I remember it used to work.\r\n\r\nActual behavior\r\n---------------\r\n\r\n```none\r\nPowerShell v6.0.0-rc.2-76-gb057d4545d24eb152558fbc42c9c0bc65fc13273\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\n\r\nhttps://aka.ms/pscore6-docs\r\nType 'help' to get help.\r\n\r\nThe shell cannot be started. A failure occurred during initialization:\r\nThe static PrimaryRunspace property can only be set once, and has already been set.\r\n\u003cprocess-hang\u003e\r\n```\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable --\u003e\r\n\r\n```powershell\r\n\u003e $PSVersionTable\r\nName Value\r\n---- -----\r\nPSVersion 6.0.0-rc.2\r\nPSEdition Core\r\nGitCommitId v6.0.0-rc.2-76-gb057d4545d24eb152558fbc42c9c0bc65fc13273\r\nOS Microsoft Windows 10.0.15063\r\nPlatform Win32NT\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","author":{"url":"https://github.com/daxian-dbw","@type":"Person","name":"daxian-dbw"},"datePublished":"2018-01-04T00:24:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5783/PowerShell/issues/5783"}
| 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:eb1f8550-8b49-1748-0258-43cc58fbf908 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9124:E1164:AB8FB:EE467:6A57ACE7 |
| html-safe-nonce | b7a154b16ddc87cff8417b883226c68625fc87a4f4e197d4638b63cf93bf5559 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTI0OkUxMTY0OkFCOEZCOkVFNDY3OjZBNTdBQ0U3IiwidmlzaXRvcl9pZCI6IjY1NzE2MjA5MDE4MDAzNTcwOTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a9ec9a9fa5a3707db9dd48937a3c1414714892822930699a8e4e7d55a9936523 |
| hovercard-subject-tag | issue:285849010 |
| 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/5783/issue_layout |
| twitter:image | https://opengraph.githubassets.com/69296a75d01664d96304be76db06bc74dea8126bcc866fb95de514cc675fd62e/PowerShell/PowerShell/issues/5783 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69296a75d01664d96304be76db06bc74dea8126bcc866fb95de514cc675fd62e/PowerShell/PowerShell/issues/5783 |
| og:image:alt | Steps to reproduce > Start-PSBuild -Clean > Get-PSOptions E:\PowerShell\src\powershell-win-core\bin\Debug\netcoreapp2.0\win7-x64\publish\pwsh.exe ## Run the 'pwsh.exe' from the parent folder of 'pu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | daxian-dbw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 017a07c29bdd8a37b5907fc9a689338deb7103b5af7f56714193b2700229b3df |
| 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 | 4cd16a676f89d1cedb932671a5c2d20b8e60f86a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width