From f4861f68027e7fdb1c66d5e14c26cdeafe0c6568 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Thu, 12 Mar 2020 17:17:17 +0100 Subject: [PATCH] Fix the build for people on VS version 16.4.5+ --- build/build-bootstrap.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/build-bootstrap.ps1 b/build/build-bootstrap.ps1 index 71a25bfd7e..4da0e0fa2a 100644 --- a/build/build-bootstrap.ps1 +++ b/build/build-bootstrap.ps1 @@ -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