Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

**Visual Studio 2015, should I commit Project.sln.ide\* files into git?

I am using Visual Studio 2015 CTP and it is generating a new folder named <project>.sln.ide\ with a few files in it such as:

edb.chk
edb.log
edbres00001.jrs
edbres00002.jrs
edbtmp.log
storage.ide

Should I add these files (or the entire folder) into my .gitignore?

If it should be added into .gitignore what would be the proper syntax? I guess *.sln.ide\ would be good?

like image 613
Rosdi Kasim Avatar asked Jan 26 '15 03:01

Rosdi Kasim


1 Answers

You should exclude the "*.ide" folder(s).

From Microsoft: "It also contains a “.sln.ide” folder which is used by Roslyn Compiler engine to store temporary files. This folder should be excluded from the source control system normally."

The "default" .gitignore for Visual Studio found on GitHub includes an exclusion for "*.ide", as seen here.

like image 177
Ryan LaNeve Avatar answered Oct 22 '22 23:10

Ryan LaNeve