We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent caffa4e commit 2706608Copy full SHA for 2706608
Build/build-functions.psm1
@@ -1,8 +1,13 @@
1
-$root = "$PSScriptRoot\.."
+$root = "$PSScriptRoot\.."
2
$artifactsDir = "$root\Artifacts"
3
$nugetOutDir = "$root\Artifacts\NuGet"
4
$testReportDir = "$root\Artifacts\Logs"
5
$nuget = "$root\Tools\NuGet.exe"
6
+$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
7
+$msbuild = & $vswhere -latest -products * -requires Microsoft.Component.MSBuild -property installationPath
8
+if ($msbuild) {
9
+ $msbuild = join-path $msbuild 'MSBuild\15.0\Bin\MSBuild.exe'
10
+}
11
12
function Start-NugetRestore {
13
write-host -foreground blue "Restore nugets...`n"
0 commit comments