Now I would like to know if I should add some files created by the monogame template. I would say yes for dylib files (the dll files are in x64 or x86 directory which are already ignored).
But what for MonoGame.Framework.dll.config ? I think that file maps dll files to their equivalent linux/OSX libraries. It seems user specific and the libraries are ignored.
So, in addition of the gitignore for VS, I should add
You should not add those files to your .gitignore.
For the Mac dylib and the x64 and x86 folders, it does not matter. Those are added as a link, meaning they don’t really exist at the location you see them at, but the .csproj links them there from your MonoGame installation folder. Since they’re not actually in the location on your filesystem git will not see them.
The .dll.config file is not user specific and it will cause issues if you share the project and do not put it in version control. The libraries that it points to are the ones that are included in your project, so they are always at the same relative location.