提交 00bb1c24 编写于 作者: J Jason Malinowski

Pass -prerelease to the vswhere query

On our 15.8 machines, there aren't release versions...because we haven't
released it yet.
上级 3afb9a5a
......@@ -353,7 +353,7 @@ function Test-SupportedVisualStudioVersion([string]$version) {
# meets our minimal requirements for the Roslyn repo.
function Get-VisualStudioDirAndId() {
$vswhere = Join-Path (Ensure-BasicTool "vswhere") "tools\vswhere.exe"
$output = Exec-Command $vswhere "-requires Microsoft.Component.MSBuild -format json" | Out-String
$output = Exec-Command $vswhere "-prerelease -requires Microsoft.Component.MSBuild -format json" | Out-String
$j = ConvertFrom-Json $output
foreach ($obj in $j) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册