我正在尝试使用Fake在visual studio代码中创建一个F#项目。当我尝试构建项目时,Fake返回错误“System.Net.WebException:407 proxy需要身份验证”。
是否有任何配置文件,我可以编写代理相关信息,以便伪造可以下载所需的文件?我已经更改了添加密钥的visual studio用户配置:
这是构建过程的完整输出:
Paket.exe 5.100.2是最新的。 Paket版本5.100.2上次恢复是 仍然是最新的。性能: - 运行时:969毫秒使用版本构建项目:LocalBuild缩短目标构建的DependencyGraph:< == Build< == Restore < == InstallDotNetCLI < ==清洁
正在运行的订单是: - 清洁 - InstallDotNetCLI - 恢复 - 使用1个工作者构建运行构建起始目标:清除删除./build /完成目标的内容:清除起始目标: InstallDotNetCLI(==> Clean)dotnet --version C:\ Users \ VNP32i6 \ AppData \ Local \ dotnetcore \ dotnet.exe --version 删除C:\ Users \ VNP32i6 \ AppData \ Local \ dotnetcore的内容 安装 'https://dotnetcli.azureedge.net/dotnet/Sdk/2.0.0/dotnet-dev-win-x64.2.0.0.zip' 到'C:\ Users \ VNP32i6 \ AppData \ Local \ Temp \ dotnet-dev-win-x64.2.0.0.zip' 安装 'https://dotnetcli.blob.core.windows.net/dotnet/Sdk/2.0.0/dotnet-sdk-2.0.0-win-x64.zip' 到'C:\ Users \ VNP32i6 \ AppData \ Local \ Temp \ dotnet-sdk-2.0.0-win-x64.zip' 安装 'https://download.microsoft.com/download/F/A/A/FAAE9280-F410-458E-8819-279C5A68EDCF/dotnet-sdk-2.0.0-win-x64.zip' 到'C:\ Users \ VNP32i6 \ AppData \ Local \ Temp \ dotnet-sdk-2.0.0-win-x64.zip' 运行构建失败。错误:System.Net.WebException:错误en el servidor remoto:(407)Serequiereututenticaci ndelproxy。恩 System.Net.WebClient.DownloadFile(Uri address,String fileName)en System.Net.WebClient.DownloadFile(String address,String fileName)
en Fake.DotNetCli.downloadSDK@496(String tempDir,String downloadPath, String archiveFileName)en D:\ code \ FAKE \ src \ app \ FakeLib \ DotNetCLIHelper.fs:l nea503zh Fake.DotNetCli.InstallDotNetSDK(String sdkVersion)en D:\ code \ FAKE \ src \ app \ FakeLib \ DotNetCLIHelper.fs:l nea533zh FSI_0005.Build.clo@50-2.Invoke(Unit _arg2)en Fake.TargetHelper.runSingleTarget(TargetTemplate`1 target)en D:\ code \ FAKE \ src \ app \ FakeLib \ TargetHelper.fs:l nea626
感谢。