I can suddenly no longer open .sql files in VS 2012 by simply double clicking in the Solution Explorer. I get the error message:
Unable to open Transa
Almost a year later, but I found the answer from joerage to be more helpful.
Default to the T-SQL Pane view within Visual Studio 2012 Database Project