I created my database project in Visual Studio 2013 pointing to an existing database, put a new build to run in TFS and the following error occurs:
Error 04018: The “SqlBuildTask” task failed unexpectedly
I did not make any changes to build template , but I tested it with another database project and the error did not happen.