VS2010 Database project deploy - “SqlDeployTask” task failed unexpectedly, NullReferenceException
问题 I have a solution in Visual Studio 2010 with a number of SQL Server 2008 database projects. I'm trying to do a 'Deploy Solution' and I'm getting the following error for one of the database pojects: ------ Deploy started: Project: MyDBProj, Configuration: Sandbox Any CPU ------ C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.TSqlTasks.targets(120,5): Error MSB4018: The "SqlDeployTask" task failed unexpectedly. System.NullReferenceException: Object reference