Quantcast
Channel: Database Design forum
Viewing all articles
Browse latest Browse all 2729

SQL Build Error in VS2012

$
0
0

I am getting the following build error in Visual Studio 2012 while trying to build a SQL database.  This is a SQL Server 2012 database that I created with the Server Explorer, and imported to a SQL solution in Visual Studio.  What do I need to do to correct this error?  I haven't found an answer in help,  or MSDN.

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v11.0\SSDT\Microsoft.Data.Tools.Schema.SqlTasks.targets(465,5): Error:  MSB4018: The "SqlBuildTask" task failed unexpectedly.

System.MissingMethodException: Method not found: 'Void Microsoft.Data.Tools.Schema.SchemaModel.DataSchemaModel.Serialize(System.IO.TextWriter, System.Collections.Generic.IEnumerable`1<System.Type>)'.

   at Microsoft.Data.Tools.Schema.Sql.Build.SqlTaskHost.SerializeModel(String outputFile)

   at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteSerializeModelStep()

   at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.ExecuteStep(Func`1 step)

   at Microsoft.Data.Tools.Schema.Tasks.Sql.SqlBuildTask.Execute()

   at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()

   at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()

Done building project "HughesEnterprisesLLC.sqlproj" -- FAILED.


Viewing all articles
Browse latest Browse all 2729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>