Fix the build for people on VS version 16.4.5+

This commit is contained in:
Sebastiaan Janssen
2020-03-12 17:17:17 +01:00
parent 007fe8d894
commit f4861f6802

View File

@@ -64,6 +64,11 @@
$params = "-OutputDirectory", $scriptTemp, "-Verbosity", "quiet", "-PreRelease"
&$nuget install Umbraco.Build @params
if (-not $?) { throw "Failed to download Umbraco.Build." }
# dependency is necessary since upgrading to VS 16.4.5
$params = "-OutputDirectory", $scriptTemp, "-Verbosity", "quiet", "-Version", "4.7.0"
&$nuget install NuGet.Versioning @params
if (-not $?) { throw "Failed to download NuGet.Versioning." }
}
# ensure we have the build system