Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Do I need the .dat file when I place a visual studio database project under version-control

I have a visual studio 2008 database project that is under version control (git). I am getting conflicts in the project_name.dat when I try to merge my branches.

So my questions ares:

  1. What is the project_name.dat file?
  2. Do I need it? That is can I leave it out of my version control
like image 634
Dug Avatar asked Jan 24 '23 10:01

Dug


2 Answers

No , you shouldn't have it under sourcecontrol as it's autogenerated.

like image 61
NikolaiDante Avatar answered Jan 26 '23 01:01

NikolaiDante


Offtopic but maybe useful:

You should configure your VCS so that special files and folders will be ignored during your commit. I use Subversion in a Windows environment and the only thing to do is to put a file called config in %APPDATA%/subversion.

Inside it look like this:

global-ignores = \bin \obj .suo _ReSharper *.resharper *.user *.ncb \Debug \Release

like image 20
Alex Avatar answered Jan 26 '23 00:01

Alex