SQL Server Scripts 2012 项目到 Team Foundation Server 2012 [英] SQL Server Scripts 2012 Project into Team Foundation Server 2012

查看:33
本文介绍了SQL Server Scripts 2012 项目到 Team Foundation Server 2012的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含多个 SQL 查询和存储过程的 SQL Server Scripts 2012 项目.

I have a SQL Server Scripts 2012 Project with multiple SQL queries and stored procedures.

我们使用 Team Foundation Server 2012 来管理我们的 Visual Studio 解决方案的源代码.

We use Team Foundation Server 2012 to manage our source code for our Visual Studio Solutions.

如何将 SQL Server Scripts 2012 项目签入 TFS?如果不可能,我该如何管理源代码控制并允许多个开发人员访问它?

How can I check in a SQL Server Scripts 2012 Project into TFS? If it is not possible how can I manage source control on this and allow multiple developers access to it?

推荐答案

你有几个选择,这里有两个我用过的.

You have a few options, here are two that I have used.

1:下载 TFS 2012 MSSCCI 提供程序:
此插件允许您从 Microsoft SQL Server Management Studio 访问 TFS.因此,您可以轻松地从 TFS 添加和检入/检出这些 ssmssln 和 ssmsproj 文件.

1: Download the TFS 2012 MSSCCI Provider:
This plugin allows you to access TFS from Microsoft SQL Server Management Studio. So you can easily add and check in\out those ssmssln and ssmsproj files from TFS.

64 位下载 - 32 位下载

64bit Download - 32bit Download

安装后,在 SSMS 中转到 工具-> 选项 -> 源代码控制 以选择插件.
如果您没有看到它,那么您可能需要安装其他位版本.

Once installed, in SSMS go to Tools-> Options -> Source Control to select the plugin.
If you don't see it then you probably need to install the other bit version.

在 SSMS 的选项窗口中选择插件后,文件"下将有一个新菜单选项,允许您从 Sql Management Studio 添加\打开\更改 TFS 中的项目.

After you have selected the plugin in the options window of SSMS, you will have a new menu option under "File" that will allow you to Add\Open\Change items in TFS from Sql Management Studio.

要使用 MSSCCI 插件添加脚本解决方案:
在 SSMS 中打开项目,转到 File -> Source Control -> Add Solution to Source Control

To add your Scripts solution using the MSSCCI plugin:
Open the project in SSMS, go to File -> Source Control -> Add Solution to Source Control

2.使用将文件添加到源代码管理"通过 VS 添加
请参见此处:添加一个文件不是版本控制的解决方案

这篇关于SQL Server Scripts 2012 项目到 Team Foundation Server 2012的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆