8

I'm trying out Visual Studio 14 CTP 2 and noticed there's this .sln.ide folder:

enter image description here

There have been a few questions going around about the .sln.ide (see this, this and this), but two of them are about a file (not folder) with that extension in Visual Studio 2012 (not 2014), and the remaining question is unanswered.

From the hints I've seen in those questions, it appears that the folder is created by the Roslyn compiler for caching purposes. However, I've been unable to find a source that explains exactly what it does.

So what is the purpose of that folder, and how is it used?

Community
  • 1
  • 1
Gigi
  • 28,163
  • 29
  • 106
  • 188
  • The purpose is to keep programmers that have solutions with dozens of projects and hundreds of source code files happy. – Hans Passant Aug 17 '14 at 13:09
  • 4
    [If even Jon Skeet doesn't know](https://twitter.com/jonskeet/status/452092455148875776), what hope do the rest of us have? :) –  Aug 17 '14 at 13:21
  • Not to be confused with any `.sln.ide` *file* which is probably made by another app http://stackoverflow.com/q/17859987/284795 – Colonel Panic Sep 29 '14 at 13:32
  • 2
    In all case, it should be excluded from the source control (add *.sln.ide/ to .gitignore): http://blogs.msdn.com/b/webdev/archive/2014/06/03/announcing-web-features-in-visual-studio-14-ctp.aspx – Cœur Oct 08 '14 at 14:40
  • 1
    You can add *.sln.ide/ in .gitignore file – om471987 Nov 13 '14 at 18:42

2 Answers2

10

It

...is used by Roslyn Compiler engine to store temporary files.

See: http://blogs.msdn.com/b/webdev/archive/2014/06/03/announcing-web-features-in-visual-studio-14-ctp.aspx

Ivan Hamilton
  • 3,205
  • 1
  • 23
  • 14
1

As my inspect, Visual Studio 2015 RTM never use this folder again, you can delete it. If you had used .tfignore/.gitignore to ignore .sln.ide, you can delete it too. Cause it won't be generated anymore.

It now uses hidden .vs folder, with the same files in .vs\(solution name)\v14\vbcs.cache. Some of them have .vs\(solution name)\vbcs.cache, I believe it has been used in some preview versions of VS 2015, already been replaced by v14\vbcs.cache and can be deleted too. And also you can delete (solution name).v14.suo because it's been replaced by .vs\(solution name)\v14\.suo.

ChrisTorng
  • 742
  • 7
  • 18