Skip to content
代码片段 群组 项目
提交 a85432e3 编辑于 作者: Jared Parsons's avatar Jared Parsons
浏览文件

Include UseBasicParsing switch

By default Invoke-WebRequest will fail if IE hasn't gone through first
configuration setup on the machine. Parts of our infrastructure don't
run IE and as a result our uses of Invoke-WebRequest were failing. Fixed
by passing the UseBasicParsing switch.
上级 915fe6de
No related branches found
No related tags found
无相关合并请求
......@@ -12,7 +12,7 @@ if ( -not $? )
exit 1
}
Invoke-WebRequest -Uri http://dotnetci.blob.core.windows.net/roslyn-perf/cpc.zip -OutFile cpc.zip
Invoke-WebRequest -Uri http://dotnetci.blob.core.windows.net/roslyn-perf/cpc.zip -OutFile cpc.zip -UseBasicParsing
[Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem') | Out-Null
[IO.Compression.ZipFile]::ExtractToDirectory('cpc.zip', $CPCLocation)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册