Skip to content

Conversation

@dellis1972
Copy link
Contributor

@dellis1972 dellis1972 commented Oct 31, 2022

The DevBox system only installs pre-release versions of VS. So we need to pass the -prerelease switch to
vswhere.exe in order to find the installations.

Currently the MSBuildLocator does not include this switch. This is for a good reason in that we want to use stable
releases when possible for our CI builds. However in certain environments like DevBox we DO want to use pre release.
So as part of the process if we don't detect a stable release first, we should fallback to a prerelease verison.

@dellis1972 dellis1972 marked this pull request as ready for review November 1, 2022 12:53
@dellis1972 dellis1972 force-pushed the devbox branch 2 times, most recently from 618c76b to 0304647 Compare November 7, 2022 10:15
@jonpryor jonpryor merged commit 610d550 into dotnet:main Nov 8, 2022
grendello added a commit to grendello/xamarin-android that referenced this pull request Nov 9, 2022
* main:
  [build] Make external build targets more consistent (dotnet#7536)
  [ci] Rename the yaml-templates resource
  Bump to xamarin/Java.Interop/main@c6c487b (dotnet#7543)
  [vswhere] Update MSBuildLocator to support -prerelease (dotnet#7508)
  [build-tools] Update UpdateApkSizeReference scripts to use net7 path (dotnet#7512)
@dellis1972 dellis1972 deleted the devbox branch November 30, 2022 15:59
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants