Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2015, using GIT extension, and Database project .dbmdl file

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?

like image 414
ozz Avatar asked Dec 18 '15 14:12

ozz


1 Answers

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.

like image 158
ozz Avatar answered Nov 14 '22 22:11

ozz