Going off the work that @CrazyHappyGame and @itchy72 (Windows10 and cocos2dx-3.16) have already done adding the Win10 templates back into v3.16 and 3.17, I have now got v3.17.1 building with Win10 templates, on Xbox and UWP apps.
If anyone is curious, I uploaded the modified files here: https://github.com/chadwyk/cocos2d-x_v3.17.1_UWP_Templates
Just copy these files over your current cocos2d-x 3.17.1 installation and generate a new game project and it should create the Win10 templates. Check out the readme for a few more steps, like which version to retarget the project as, etc.
There were some bugs in overridden function definitions in CCFileUtilsWinRT.cpp and .h, that were not updated when changes were made to CCFileUtils.cpp and .h (const was missing after function definitions), as well as added win10 missing dll and lib files, and I edited project files to include new libs (uv.dll, uv.lib).
I’m not good at git / pull requests, but if someone else could test and would like to merge this in and update the changes to the main git repo, I think that would be great! I saw that some of the original changes @CrazyHappyGame made for getting win10 on v3.16 were eventually merged in, and think this would be a great addition.
The tests project currently does not compile properly.