Tuesday, 15 May 2012

Visual Studio 2013 SQL Server database project build failure -


I'm playing with Visual Studio 2013 on a Windows Server 2012 R2 with a SQL Server database project. Below is my code and you can use the entire project source code from my shared dropbox link on

  system; Using System.Data; Using System.Data.SqlClient; Using System.Data.SqlTypes; Using Microsoft.SqlServer.Server; Public Partial Category UserDefinedFunctions {[Microsoft.SqlServer.Server.SqlFunction] Public Stable SqlString Greetings (SqlString Name) {// Visit your code here, return the new SqlString ("Hello" + (string)); }}  

When I try to prepare the solution, I get the following message.

------ Construction started: Project: UDF, Configuration: Debugging any CPU ---------------------------------------------------------------------------- .. Full project "UDF.sqlproj" - FIELD

Create the file: ========== Build: 0 successful or up-to-date, 1 fail, 0 skip ===========

Essentially this tells me that the build failed, but I did not find any specific errors, except that nothing is listed in the error list panel. Please give me the right direction?

You must install the last version of SQL Server Data Tools This link is

After restarting the computer, try again and again.


No comments:

Post a Comment