I’m sure we all love this dialog after a CTP refresh:
The issue is that the project types have changed out from under your project. How do you fix it? Well, don’t recreate your project from scratch, instead, reload the project.
Now remove the line with the ProjectTypeGuids.
Finally, reload the project.
You should be golden.