If you have the latest update installed (https://www.visualstudio.com/en-us/news/releasenotes/vs2017-relnotes), generating a project results in a solution with this set:
VisualStudioVersion = 15.0.25807.0
This seems to be causing a startup crash with the update installed (I’m about 90% sure of this); changing that value in the solution file itself to:
VisualStudioVersion = 15.3.1
Seems to remedy the issue, though.