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

Appearance settings

Start-PSBuild -Runtime always defaults to x64 on Linux #17801

Copy link
Copy link
@dkaszews

Description

@dkaszews
Issue body actions

Prerequisites

Steps to reproduce

Run 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.

Expected behavior

Runs `dotnet publish --runtime linux-arm64`

Actual behavior

Runs `dotnet publish --runtime linux-x64`

Error details

No response

Environment data

Name                           Value                                                                                                                                                                            
----                           -----                                                                                                                                                                            
PSVersion                      7.2.4                                                                                                                                                                            
PSEdition                      Core                                                                                                                                                                             
GitCommitId                    7.2.4                                                                                                                                                                            
OS                             Linux 5.15.0-1011-raspi #13-Ubuntu SMP PREEMPT Thu Jun 2 11:44:34 UTC 2022                                                                                                       
Platform                       Unix                                                                                                                                                                             
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}                                                                                                                                                            
PSRemotingProtocolVersion      2.3                                                                                                                                                                    
SerializationVersion           1.1.0.1                                                                                                                                                                          
WSManStackVersion              3.0

Visuals

No response

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.