Visual Studio CE won't display my custom template

Ed Jobe 0 Reputation points

I installed VS 2022 CE on a vm and copied my custom template to the correct template location, but I can't get VS to show my template when you select Create New Project. I have the vm set up the same as my desktop. I just copied the zip file to the vm. It's the same template. I have VS 17.8.6 on my desktop and 17.9 on the vm. I've tried the 'repair' fix, but to no avail.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,793 questions
{count} votes

2 answers

Sort by: Most helpful
  1. RLWA32 42,181 Reputation points

    See the comments to answer posted to for guidance on forcing VS2022 to update its cached project templates.

  2. Ed Jobe 0 Reputation points

    I found the problem. I wasn't paying close attention. On the vm, instead of %USERPROFILE%\Documents\Visual Studio 2022\Templates\ProjectTemplates, I put the template in ProjectTemplates\C#. The vstemplate file is coded for C#, but VS couldn't find it in that folder. When I moved the zip to the ProjectTemplates folder, it found it. Now the question is, why does VS put those folders there if it can't find templates there??

    Thanks for your help.