VS2022 17.7.0 broken when using Custom C++ project templates

RLWA32
48,151
Reputation points
There are several custom C++ project templates that I have used for quite a while with VS2019 and VS2022 through 17.6.5. However, version 17.7.0 chokes when attempting to create a project using the templates and issues an uninformative error message - “One of the identified items is in an invalid format”.
If any have seen the same or a similar problem after updating VS2022 to 17.7.0 the issue opened with developer community can be found at https://developercommunity.visualstudio.com/t/C-Project-creation-failure-with-error-/10439156
Sign in to answer