Solved by installing "SQL Server 2010 Data Tools" using the web platform installer. I had the same error, and I donβt see that VS2012 has anything to do with it - nothing is related to 2012 in any of the projects I work with. SSDT is the key, but you want a version for its corresponding version of Visual Studio.
source share