提交 8eec1406 编写于 作者: J Jared Parsons

Comment about pre-release

上级 f1f7ddd4
......@@ -362,6 +362,9 @@ function Get-MSBuildDir([switch]$xcopy = $false) {
# Dose this version of Visual Studio meet our minimum requirements for building.
function Test-SupportedVisualStudioVersion([string]$version) {
# This regex allows us to strip off any pre-release info that gets attached
# to the version string. VS uses NuGet style pre-release by suffing version
# with -<pre-release info>
if (-not ($version -match "^([\d.]+)(\+|-)?.*$")) {
return $false
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册