Why does the SqlPublish target fail for a SQL Server 2014 database project?

后端 未结 1 1347
清歌不尽
清歌不尽 2021-01-18 20:20

My machine has the current (March 2014) version of SSDT, Visual Studio 2012 Professional, and SQL Server 2014 Developer. I have a SQL Server project (let\'s call it My

1条回答
  •  悲哀的现实
    2021-01-18 21:09

    The issue here is that the VisualStudioVersion environment variable isn't set, in which case the .sqlproj file currently defaults to targeting the VS2010 version (which does not support SQL Server 2014). Calling "set VisualStudioVersion=11.0" before running MSBuild will fix the issue.

    0 讨论(0)
提交回复
热议问题