You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From a freshly cloned repository, I'm trying to build Powershell on Windows 10 using PowerShell Core 6.0.0-beta. It fails.
It seems to work using the Windows 10 distributed PowerShell.exe.
Steps to reproduce
From repository root:
import-module .\build.psm1
Start-PSBootstrap
Expected behavior
bootstrap completes, as under desktop version of PowerShell:
Installing PowerShell build dependencies
C:
dotnet-install: Downloading https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview1-005952/dotnet-sdk-2.0.0-preview1-005952-win-x64.zip
dotnet-install: Downloading https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview1-005952/dotnet-dev-win-x64.2.0.0-preview1-005952.zip
dotnet-install: Extracting zip from https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview1-005952/dotnet-dev-win-x64.2.0.0-preview1-005952.zip
dotnet-install: Adding to current process PATH: "C:\Users\Burt_\AppData\Local\Microsoft\dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
dotnet-install: Installation finished
Chocolatey is already installed. Skipping installation.
Cmake is already installed. Skipping installation.
Windows 10 SDK present. Skipping installation.
Actual behavior
Installing PowerShell build dependencies
C:
dotnet-install: Downloading https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview1-005952/dotnet-sdk-2.0.0-preview1-005952-win-x64.zip
dotnet-install: Downloading https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0-preview1-005952/dotnet-dev-win-x64.2.0.0-preview1-005952.zip
Exception calling "IsBypassed" with "1" argument(s): "Operation is not supported on this platform."
At C:\code\PowerShell\tools\dotnet-install.ps1:170 char:20
+ ... if($DefaultProxy -and (-not $DefaultProxy.IsBypassed($Uri))) ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : PlatformNotSupportedException
From a freshly cloned repository, I'm trying to build Powershell on Windows 10 using PowerShell Core 6.0.0-beta. It fails.
It seems to work using the Windows 10 distributed PowerShell.exe.
Steps to reproduce
From repository root:
Expected behavior
bootstrap completes, as under desktop version of PowerShell:
Actual behavior
Environment data
Latest commit 6bb12c9.
There are no HTTP proxies in my environment. I'm behind a modern home NAT router.