I've attached a sample solution that reproduces the issue.
If you open that solution you will see that it has 3 projects and all projects have the T4Scaffolding.Core package.
What I found is that once the init.ps1 script runs, the solution properties windows on the solution fails to open!
Here is the error:
The issue is caused by:
If I comment out that line, it works.