Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Versioning with Visual Studio 2010 and HG

Recently me and my team got a HG repository for versioning as this would make it easier and better to develop our application.

We are using Visual Studio 2010 and c#

All of the project is under version control..

Unfortunately, when one of us commits, usually the other gets an error of some kind when opening the solution (due to the various files VS has)

My question is: what files should be put under version control? (and removed in my case!)

PS: we have 3 Projects: (using XNA) game, contents, test

Thank you very much!!!

Dan

like image 857
PirosB3 Avatar asked Jan 21 '23 01:01

PirosB3


1 Answers

At least you need these in your .hgignore:

syntax: glob
bin
obj
*.sln.cache
*.suo
*.user

Add as needed. But don't overignore as you can lose data that way. For instace @Darin's answer causes you to stop tracking of private key files (.snk).

like image 187
Sedat Kapanoglu Avatar answered Jan 23 '23 15:01

Sedat Kapanoglu