Can I do database deployments, without installing Visual Studio or VSTSDB?

我怕爱的太早我们不能终老 提交于 2019-12-13 00:25:08

问题


In setting up our TFS 2010 build machine we are trying to avoid installing Visual Studio (2005/2008/2010). For most builds just installing the necessary SDK has allowed us to get good builds w/o visual studio.

However, with VSTSDB (Visual Studio Team System Database for professionals) I'm unable to identify what (if any) SDK is available to be installed rather than installing VSTSDB on the build machine. Does such an SDK exist?


回答1:


The TFS 2010 Build Service can build Database Projects out-of-the-box. It doesn't require any additional components.




回答2:


Another way to deploy a database project from the command line, is to use the VSDBCMD utility.

The install process is as simple copying some binaries onto your build machine.
This negates having to install Visual Studio or TFS.

This comes in very handy, where you might be doing manual/adhoc installs on machines where team foundation server isn't installed.

Microsoft recommend this too, see:
How to: Prepare a Database for Deployment From a Command Prompt by Using VSDBCMD.EXE

Note:
Ensure you read the section titled Special Requirements for 64-bit Operating Systems, as you will need to install the correct versions of SQL Server CE for this to work correctly.



来源:https://stackoverflow.com/questions/4383184/can-i-do-database-deployments-without-installing-visual-studio-or-vstsdb

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!