Which files created by Visual Studio 2017 should I ignore in version control?
<p>Visual Studio 2017 (I've also seen this referred to as Visual Studio 15 2017, confusingly enough) introduces "Open Folder" support with CMake integration. In this case, it creates a few new files in my working copy. Here is what I noticed:</p>

<pre><code>.vs/ProjectSettings.json
.vs/slnx.sqlite
.vs/source/v15/Browse.VC.db
CMakeSettings.json
</code></pre>

<p>It seems obvious that <code>CMakeSettings.json</code> goes into version control. But what about the contents of the <code>.vs/</code> directory? If it helps to provide examples, I'm using Git for version control, so I'd need a reliable set of patterns to put into my <code>.gitignore</code> file.</p>

<p>EDIT:</p>

<p>People are marking my question as a duplicate, however that is incorrect. This is not a duplicate because VS 2017 adds several new files to my working copy that were not used in previous versions of Visual Studio. As such, it's important to my question from the proposed duplicate questions.</p>