microsoft / devcenter-catalog

MIT License
33 stars 94 forks source link

Adding a task for populating the VS solution cache. #51

Closed jmatthiesen closed 5 months ago

jmatthiesen commented 11 months ago

This pull request adds a new task to the project called populate-vs-solution-cache, which generates caches for a specified solution file to improve the performance of various Visual Studio features in a first-run scenario. The task is implemented with a PowerShell script that invokes the PopulateSolutionCache command of Visual Studio's devenv.exe with several input parameters and error handling.

The main PowerShell script comes from the VS team who worked on the VS caching functionality. You can learn more about the underlying capability at https://learn.microsoft.com/en-us/azure/dev-box/how-to-generate-visual-studio-caches.