Is DesignDB In Use?

When Visual Studio Team System Database Edition opens a design-time validation database, it acquires an exclusive application lock on the DesignDB database using the following code. 1: EXEC @rc = sp_getapplock N’TSDATA’, N’Exclusive’, N’Session’, 0, N’dbo’; A side effect of acquiring the application lock is that only a single Visual Studio instance can open the…

1

Cleaning up DesignDB Leftovers

In the “DesignDB Location” blog post I described where the design-time validation database are created. The attentive reader would have wondered when design-time validation database file get cleaned up, since we create them at project creation time and attach or re-create at project open time. So when do they get removed? The answer: DesignDB files…

1

DesignDB Location

As you might know Visual Studio Team System Database Edition uses a local SQL Server database instance to validate the correctness of the code inside the database project. When you create a project a local scratch database is create for validation purposes, when you close project the database gets detached and when you re-open the…

2

The Data Dude Meets Team Build

At DevConnections and TechEd Europe every attendee has been receiving a special issue of CoDe Magazine, featuring “Data Programmability”. In this issue you will find an article on how to get started with Team Build and VSDBPro, please check out http://www.code-magazine.com/Article.aspx?quickid=990712152.  If you are interested in this particular subject also be sure to check out…

5

External Changes…

What happens when you make changes outside the scope of your project? What if you edit a file inside Notepad or sync your source code from your SCC system, either from the command line or from the VS IDE? Most users assume that the project automatically get updated as soon as the file is save on…

3