Visual Studio 2015, Using GIT Extension, And Database Project .dbmdl File

- 1 answer

GIT in Visual Studio is reporting the .dbmdl file is in use by another process.

When it does this, all the VS change tracking stops - no files show as changed.

Remove my DB project from the solution, and immediately, all the changed files show as changed.

The .dbmdl file is some kind of local cache, and is not meant to be checked into source control. And I have made sure it is not.

How can I fix this, and have my DB project in the solution?



I fixed this issue by specifically naming the .dbmdl file in my .gitignore file.

From that point on GIT in VS completely ignored it, and changes always show up.