-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Windows version of pwsh not compatible with .NET 5.0 preview 3 #12264
Copy link
Copy link
Closed
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally 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).The issue is caused by external component(s).WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build
Description
Steps to reproduce
-
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
-
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;- Run PowerShell
.\powershell\pwsh.exeExpected 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Issue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aideally 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).The issue is caused by external component(s).WG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build