According to MSDN:
You can add the following files to Visual Studio source control:
- Solution files (
*.sln).- Project files, for example,
*.csproj,*.vbprojfiles.- Application configuration files, based on XML, used to control run-time behavior of a Visual Studio project.
Files that you cannot add to source control include the following:
- Solution user option files (
*.suo).- Project user option files, for example,
*.csproj.user,*.vbproj.userfiles.- Web information files, for example,
*.csproj.webinfo,*.vbproj.webinfo, that control the virtual root location of a Web project.- Build output files, for example,
*.dlland*.exefiles.