Skip to content

Windows version of pwsh not compatible with .NET 5.0 preview 3 #12264

@mthalman

Description

@mthalman

Steps to reproduce

  1. Install current (as of today) .NET 5.0 preview 3 build: https://dotnetcli.azureedge.net/dotnet/Runtime/5.0.0-preview.3.20169.1/dotnet-runtime-5.0.0-preview.3.20169.1-win-x64.exe

  2. Install PowerShell

$powershell_version = '7.1.0-preview.1'; `
Invoke-WebRequest -OutFile PowerShell.Windows.x64.$powershell_version.nupkg https://pwshtool.blob.core.windows.net/tool/$powershell_version/PowerShell.Windows.x64.$powershell_version.nupkg;
\dotnet\dotnet tool install --add-source . --tool-path \powershell --version $powershell_version PowerShell.Windows.x64;
  1. Run PowerShell
.\powershell\pwsh.exe

Expected behavior


Actual behavior

It was not possible to find any compatible framework version

The framework 'Microsoft.NETCore.App', version '5.0.0-preview.3.20201.7' was not found.

Environment data


This behavior doesn't occur for the Linux version of pwsh.

cc @adityapatwardhan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-Maintainers-Buildspecific to affecting the buildIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aResolution-ExternalThe issue is caused by external component(s).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions