I want to install a specific version of Visual Studio, but don't know how, specifically version 17.0. All my search result is just release notes, can't install. How to do that?
Thanks
Ok, I see it, we are only able to rollback to earlier version if using Enterprise or Professional licence (here), in my case, I'm using Community, which is free. Sad :(
If you want to install a specific version of visual studio , Download from below link.
To go back to an earlier release, you must uninstall your current installation and use below link to download and re-install the version that you prefer.
You want to install Visual Studio 2022 version 17.8 ?
After downloading visualstudiosetup.exe go to command line and enter:
visualstudiosetup.exe --channelUri https://aka.ms/vs/17/release.LTSC.17.8/channel
Make selections and let install
In my case I wanted to update to a particular version of VS Community. While the GUI installer does not seem to be able to select one, it is possible to point it to a particular version through the command line by using a URI. Obtaining one is however quite complicated, more than it needs to be honestly:
- Locate the particular version in the Microsoft Update Catalog and download the installer.
- When I ran the installer, it extracted something, then close, and nothing happened. In any case, navigate to the
%TEMP%
folder where the installer extracts its files. If it closes without doing anything, it also deletes the temporary extracted folder, but you have time to copy it somewhere to look inside. - Find the
ChannelManifest.json
file. Should be about 90 KiB. - Upload it to a web server so that you have a URI it could be downloaded from, say
https://example.org/ChannelManifest.json
. - Go to
C:\Program Files (x86)\Microsoft Visual Studio\Installer
and open the command line there. - Run
setup update --channelId VisualStudio.17.Release --productId Microsoft.VisualStudio.Product.Community --channelURI "https://example.org/ChannelManifest.json"
. Feel free to add other parameters such as--previewUpdate
. - Existing installation of VS Community 2022 should start updating to the specified version.
Few known URIs that could be used for channelURI
:
https://aka.ms/vs/17/release/channel
‒ the latest release version.https://aka.ms/vs/17/pre/channel
‒ the latest preview version.https://aka.ms/vs/17/pre/211752065_538491369/channel
‒ 17.6.0 Preview 2.0.https://web.archive.org/web/20240804095215id_/https://is4.site/VisualStudio.17.Release/17.8.7+34601.278/ChannelManifest.json
‒ my backup of 17.8.7 Release.
There is also apparently a guide how to form these URIs at https://dnceng.visualstudio.com/internal/_wiki/wikis/DNCEng%20Services%20Wiki/972/VS-2022-image-updates, but it is not publicly accessible.
© 2022 - 2024 — McMap. All rights reserved.