Visual Studio 2015 using the GIT extension and the .dbmdl database project file

GIT in Visual Studio reports that the .dbmdl file is being used by another process.

When he does this, all change tracking VS stops - files are not displayed as changed.

Extract my database project from the solution, and immediately all changed files are displayed as modified.

The .dbmdl file is a kind of local cache and is not intended to be checked in the original control. And I was convinced that this is not so.

How can I fix this and have a database project in solution?

+5
source share
1 answer

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

From this point on, GIT in VS is completely ignored, and the changes are always displayed.

+7
source

Source: https://habr.com/ru/post/1238643/


All Articles