Okay, so we have a solution that contains the following projects:
Place EDMX file to DataAccess. Add T4 template for entities and move it from DataAccess to Entities (you will probably have to modify path to EDMX in the template). It will work - I'm using it all the time.
Edit:
Here is Walktrhough for POCOs but it should be same with STEs.
I might be misunderstanding your question, but the thing I would suggest first off is to create a new project for your entity framework.
Is there a good reason for it to be in with the other projects? Keeping it separate keeps it small, and easier to manage. Also keeps the dependencies down.