In Visual Studio 2022, Can not export and import new Project Template - Stack Overflow

时间: 2025-01-06 admin 业界

I am using VS2022 to develop C++ Programs currently, and use project templates to load my default settings.

But, at some point, When I try to make new project by importing my own project template, It doesn't work correctly ( like, loading wrong one! ).

and also, although exported new project template, VS2022's project adding window cannot recognize it!

So, I want to initialize all the settings of project templates but I don't know how to!

Can anyone give me some tips please ?

Thanks.

  1. Delete all the obsolete templates(.zip files in the Document/VS2022/Templates/ProjectTemplates and Document/VS2022/My Exported Templates Directory )

  2. Tools->import and export settings -> Reset all settings -> No, just settings, overwriting my current settings -> General -> Finish.

Both of the ways didn't work!!