Skip to content

Commit

Permalink
Build fixes (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK authored Apr 13, 2024
1 parent 3fa33c3 commit 461fc98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Build/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
$treatWarningsAsErrors = $false
$workingName = if ($workingName) {$workingName} else {"Working"}
$assemblyVersion = if ($assemblyVersion) {$assemblyVersion} else {$majorVersion + '.0.0'}
$netCliChannel = "Current"
$netCliChannel = "STS"
$netCliVersion = "6.0.300"
$nugetUrl = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
$ensureNetCliSdk = $true
Expand All @@ -27,7 +27,7 @@
$workingDir = "$baseDir\$workingName"

$nugetPath = "$buildDir\Temp\nuget.exe"
$vswhereVersion = "2.3.2"
$vswhereVersion = "3.1.7"
$vswherePath = "$buildDir\Temp\vswhere.$vswhereVersion"
$nunitConsoleVersion = "3.8.0"
$nunitConsolePath = "$buildDir\Temp\NUnit.ConsoleRunner.$nunitConsoleVersion"
Expand Down Expand Up @@ -196,7 +196,7 @@ function EnsureNuGetPackage($packageName, $packagePath, $packageVersion)

function GetMsBuildPath()
{
$path = & $vswherePath\tools\vswhere.exe -latest -products * -requires Microsoft.Component.MSBuild -property installationPath
$path = & $vswherePath\tools\vswhere.exe -latest -prerelease -products * -requires Microsoft.Component.MSBuild -property installationPath
if (!($path))
{
throw "Could not find Visual Studio install path"
Expand Down

0 comments on commit 461fc98

Please sign in to comment.