Click here to Skip to main content
11,435,048 members (47,473 online)
Click here to Skip to main content

Tagged as

The Solution User Options (.Suo) File in Visual Studio

, 7 Apr 2014 CPOL
Rate this:
Please Sign up or sign in to vote.
Visual Studio - solution user options (.suo) file

What is a Solution User Options (.suo) file

The solution user options (.suo) file is a structured storage, or compound, file stored in a binary format. This file is used to store user preference settings, and is created automatically when Visual Studio saves a solution.

Location of .suo file

The .suo file will be saved in the folder where your Solution (.sln) file exists. You might wanted to set true for “Show Hidden Files and Folder” in “Folder Options” as .suo file is hidden by default.

What informations are saved in my .suo file

This file is used by Visual Studio to store user/solution specific information such as Opened Files, Expanded Nodes in the Solution Visual Studio .suo fileExplorer, Opened Tool Windows and its Positions, User Tasks, Breakpoints, Start-up Project details, Contents of Watch window, Whether the project is loaded/unloaded etc. The same file is used by Visual Studio Addins (VSPackages) to persist information that are specific to that solution/user.

.suo file and Source Control

Adding user specific information to source control is not a good idea. Most of the code versioning control ignores .suo file by default. If included, the developer, who checks out the latest .suo file, will loose all his personal settings which is stored in the local .suo file.

Visual Studio performance and .suo file

If the size of .suo file is too large then it can affect the performance of Visual Studio. Deleting the .suo file will boost the performance. Visual Studio will recreate the .suo file again.

Deleting .suo file

Visual Studio creates a new file with the .suo file extension as soon as you create a solution. But once the file with the .suo file extension is deleted, any of your existing solution user-specific settings will be lost. The .suo file will be recreated again by Visual Studio.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Shemeer NS
Software Developer (Senior)
India India
Technology Specialist | CodeProject MVP | Visual Studio Gallery Contributor | Author | Geek | Netizen | Husband | ChessPlayer

Most of my articles are listed on top 5 of the respective 'Best articles of the month' and some of my articles are published on ASP.NET WebSite's Article of the Day section.

Check my contributions in Visual Studio Gallery and Code Project

Technical Blog: http://www.shemeerns.com
Facebook: http://facebook.com/shemeernsblog
Twitter : http://twitter.com/shemeerns
Google+ : http://google.com/+Shemeernsblog
Follow on   Twitter   Google+

Comments and Discussions

 
Generaluseful article Pin
Nikhil Purameri3-Nov-14 23:20
memberNikhil Purameri3-Nov-14 23:20 
BugTypo Pin
Brisingr Aerowing7-Apr-14 15:25
professionalBrisingr Aerowing7-Apr-14 15:25 
GeneralRe: Typo Pin
Shemeer NS7-Apr-14 21:15
mvpShemeer NS7-Apr-14 21:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.150428.2 | Last Updated 8 Apr 2014
Article Copyright 2014 by Shemeer NS
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid