I created SQL Server Database Project in VS 2012 & imported our database. When I build the project, I get a lot of \"unresolved reference to object\" Errors. These error
This happened to me when building a CTE in Visual Studio 2015. I changed the Build Action to Compile and the errors went away.
Hope this helps someone.