Update the Visual Studio version database by scraping Microsoft's documentation.
This runs the VisualStudio.VersionScraper project, which:
- Scrapes Visual Studio release history pages from Microsoft docs (VS 2017, 2019, 2022, 2026)
- Parses HTML tables to extract version, release date, build number, and channel info
- Regenerates
src/SlnUp.Core/VersionManager.g.cswith the latest version data
Steps
- Run the version scraper from the repository root:
dotnet run --project src/VisualStudio.VersionScraper --no-launch-profile -- src/SlnUp.Core/VersionManager.g.cs --format CSharp - After the scraper completes, read
src/SlnUp.Core/VersionManager.g.csand verify the file was updated (check that it contains recent Visual Studio versions and looks well-formed). - Run the project tests to make sure nothing is broken:
dotnet test - Report a summary of what changed: any new VS versions added, any versions removed, and the current latest version listed in the file.
Notes
- This requires an internet connection to reach Microsoft's documentation pages.
- The scraper caches HTTP responses by default. Pass
--no-cacheto bypass the cache if you suspect stale data. - Preview versions are filtered out automatically.
- The generated file uses
[GeneratedCodeAttribute]and should not be hand-edited.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.