-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update doesn't work for Visual Studio 2022 #2165
Comments
Can you run the command with "--verbose-logs" and share the output? |
I have already updated manually. |
This happens if you don't run winget with admin, the Visual Studio installer won't elevate for an upgrade by itself. We may need a |
Or perhaps #2062 |
I like the solution you proposed! Since upgrade is a different mode for switches it makes sense to have a different ElevationRequirement for it. |
Same issue here (even from an elevated shell). Seems to have started with VS2022 v17.2. |
Was VS running when you tried to upgrade? Long shot, but I've seen it error out for that too. |
No, VS wasn't running. |
Related: microsoft/winget-pkgs#32921 |
I encountered almost same problem on Microsoft.VisualStudio.2022.BuildTools. |
That's my fault, I have a script that updates Visual Studio but it wasn't grabbing the right links for Enterprise/Build Tools/Professional. Let me fix it... |
Is this resolved? |
Yes -- at least on my current machine --, thanks @jedieaston for the fix! BTW, are we supposed to be able to keep the VS2017 Build Tools up-to-date using |
@sba923 I didn't see an entry for Visual Studio Build Tools 2017. It's possible they just haven't been submitted yet. You may request them. |
Brief description of your issue
WinGet fails upgrading Visual Studio and then cannot continue with upgrades.
Steps to reproduce
Install Visual Studio 2022 17.2.0
Expected behavior
Upgrade works
Actual behavior
Upgrade fails
Environment
The text was updated successfully, but these errors were encountered: