How to update Visual Studio Template Cache

I had the same issue. What was here did not work for me. What I did however is to go to a specific folder and edit the files directly. Just go there :

%AppData%\Microsoft\VisualStudio\{some_version}\ItemTemplatesCache\

It contains folders named after the zip files from your archives in the template folder. I needed admin priviledge for edits.

Enjoy.


Launch "Developer Command Prompt for VS 2022"

devenv /updateconfiguration

See: https://developercommunity.visualstudio.com/t/cannot-remove-item-template/27424

/installvstemplates did not work me in VS 2022.


Open up the Visual Studio Command Prompt and type in:

devenv /installvstemplates

Source: How to Edit Visual Studio Templates