Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the .vs folder used for in Visual Studio solutions?

What is the .vs folder used for exactly? It gets created at the base folder of my solution. I can see some hidden files and different files appear for different projects. I'm having a hard time chasing up official documentation on it.

like image 481
bernieslearnings Avatar asked Feb 21 '18 02:02

bernieslearnings


People also ask

Should I delete .VS folder?

No. You should not delete.

Where is .VS folder Visual Studio?

There's a . vs folder created right next to . sln solution file. Under Project->Properties->Configuration Properties->General there is already an entry for Intermediate Directory.

Should we check in .VS folder?

No, you should not add it to source control. The purpose of this folder is to move machine- and user-specific files to a central location.


1 Answers

Even though there is no specific documentation, there was a similar question here

Usually, .vs folder is required by Visual Studio to store opened documents, breakpoints, and other information about state of your solution. which means It contains typical files like,

  • Temporary caches used by Roslyn for IntelliSense.
  • IIS Express applicationHost.config file.
  • Many other possible files (you are welcome to edit this answer to include what you know of).
like image 66
Sajeetharan Avatar answered Sep 19 '22 18:09

Sajeetharan