$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;
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.
This behavior doesn't occur for the Linux version of pwsh.
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\pwsh.exeExpected behavior
Actual behavior
Environment data
This behavior doesn't occur for the Linux version of pwsh.
cc @adityapatwardhan