-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failing to update VS 2022 (Current channel) installations #123
Labels
bug
Something isn't working
Comments
kzu
added a commit
that referenced
this issue
Aug 18, 2022
We previously hardcoded the major VS version used to build the channel bootstrapper, but this was only necessary for Install scenarios, where we don't know already the channel/installation we're dealing with. So for update/modify, we pass down the selected instance (or default selected) major version, so we don't select the wrong major version inadvertently. In addition, for Install, we have a smarter heuristics now that will attempt to load the latest release bootstrapper major version from the official docs on CLI installs for VS, and defaulting to hardcoded "17" for now in the unlikely scenario where we can't reach the page for some reason. Fixes #123
kzu
added a commit
that referenced
this issue
Aug 18, 2022
We previously hardcoded the major VS version used to build the channel bootstrapper, but this was only necessary for Install scenarios, where we don't know already the channel/installation we're dealing with. So for update/modify, we pass down the selected instance (or default selected) major version, so we don't select the wrong major version inadvertently. In addition, for Install, we have a smarter heuristics now that will attempt to load the latest release bootstrapper major version from the official docs on CLI installs for VS, and defaulting to hardcoded "17" for now in the unlikely scenario where we can't reach the page for some reason. Fixes #123
kzu
added a commit
that referenced
this issue
Aug 18, 2022
We previously hardcoded the major VS version used to build the channel bootstrapper, but this was only necessary for Install scenarios, where we don't know already the channel/installation we're dealing with. So for update/modify, we pass down the selected instance (or default selected) major version, so we don't select the wrong major version inadvertently. In addition, for Install, we have a smarter heuristics now that will attempt to load the latest release bootstrapper major version from the official docs on CLI installs for VS, and defaulting to hardcoded "17" for now in the unlikely scenario where we can't reach the page for some reason. Fixes #123
Thanks for reporting the issue! A fix has been merged and published. Please update to the latest nuget package and let us know how it works for you. Thanks :) PS: sorry for taking so long :(. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the Bug
I'm trying to update the currently installed "Current" instance of Visual Studio 2022 (Dev17). It fails though and I can see it's trying to run the Dev16 bootstrapper instead. Looks like the "Release" channel is hardcoded to always point to the 16 bootstrapper, but I haven't looked at the code enough to know if that's the issue.
Steps to Reproduce
Expected Behavior
I'd expect it to run the v17 bootstrapper.
Output
Version Info
dotnet-vs 1.1.1
The text was updated successfully, but these errors were encountered: