What is an .suo file

By Peter Bromberg

Solution User Options (.suo) File The solution user options (.suo) file is a structured storage, or compound, file stored in a binary format. You save user information into streams with the name of the stream being the key that will be used to identify the information in the .suo file.

When the environment opens a .suo file, it enumerates all currently loaded VSPackages. If a VSPackage implements the IVsPersistSolutionOpts interface, then the environment calls the LoadUserOptions method on the VSPackage asking it to load all of its data from the .suo file.

It is the VSPackage's responsibility to know what streams it might have written into the .suo file. For each stream that it wrote, the VSPackage calls back to the environment through LoadPackageUserOpts to load a particular stream that is identified by the key, which is the name of the stream. The environment then calls back to the VSPackage to read that particular stream passing the name of the stream and an IStream pointer to the LoadPackageUserOpts method.

At that point, another call is made to LoadUserOptions to see if there is another section of the .suo file that has to be read. This process continues until all of the data streams in the .suo file have been read and processed by the environment.

When the solution is saved or closed, the environment calls the SavePackageSolutionProps method with a pointer to the SaveUserOptions method. An IStream containing the binary information to be saved is passed to the WriteUserOptions method, which then writes the information to the .suo file and calls the SaveUserOptions method again to see if there is another stream of information to write to the .suo file.

These two methods, SaveUserOptions and WriteUserOptions, are called recursively for each stream of information to be saved to the .suo file, passing in the pointer to IVsSolutionPersistence. They are called recursively to allow for the writing of multiple streams to the .suo file. In that way, user information is persisted with the solution and is guaranteed to be there the next time the solution is opened.

The .suo file needs to be distributed along with the .sln file if you want to be able to reload a solution and have all the customizations you have made restored.

What is an .suo file  (783 Views)
Create New Account
SVN Hi All, Can anyone help me how to add .NET C# project to TortoiseSVN. Thanks in advance. this link might obj folders to be created for your projects, and an suo file will appear in the project's top folder. We http: / / www.componentworkshop.com / blog / 2009 / 06 / 18 / versioning-a-net-development-with-subversion-and-tortoisesvn Your solution is now ready
so needs to shut down i am having a vb.net application many a time si get this error wheever i If you still get the error try manually deleting all *.suo file in the solution folder. try cleaning temporary folder in
2005 Versione 8.0.50727.762 (SP.050727-7600) Microsoft .NET Framework Versione 2.0.50727 SP2 Installed edition: Professional Version of errors while binding which is mostly due to the suo files Create New Account
have a doubt actually what is the diffrence between ADO.NET AND VB.NET, ADO.NET AND ASP.NET, ASP.NET AND VB.NET, C#.NET AND VB.NET PLS help well i will explain you about two only ADO.net is part of language C# , vb.net etc .net languages. ADO.net is collection of classes that
what is Active( net) & Net Is there is any difference between Active(.Net) & .Net- Tell me in more understandable form. Create New Account
Frequently asked Interview Questions in ADO.Net hi friends Any one send frequently asked Important questions in C# .Net, ADO .Net, Asp .Net and Sql Server. . . . . . . . tx in Advance. . . . . . Hi, Find this. . (B Boxing and Unboxing ? (B) What is the difference between VB.NET and C#? (I) what is the difference between System exceptions What is a satellite assembly? (A) How to prevent my .NET DLL to be decompiled? (I) what is the difference between we make a choice? (A)What is CodeDom? Chapter 2: NET Interoperability (I) How can we use COM Components in .NET? (I) We have developed the COM wrapper do we have to still register the COM? (A)How can we use .NET components in COM? (A) How can we make Windows API calls in .NET? (B) When we use windows API in .NET is it
vb.net hi what is VB.net ?and benefits of vb.net what is asp.net and benefits of asp.net pls help me hi, what is VB.net ?and benefits of vb net Visual Basic .NET (VB.NET or VB .NET) is a version of Microsoft's Visual Basic that was
Getting Started With .NET / C# / VB.NET / ASP.NET (Installation, Helpful Links, Beginners, Samples, and Advice) Get Started Learning .NET / C# / VB.NET / ASP.NET By Robbe D. Morris Printer Friendly Version Robbe Morris Robbe of requests for advice on how to get started with .NET. My guess is that many of our readers are asking management to take the plunge. Selling Management On Migrating To .NET and Six Reasons Why Your Organization Should Migrate To The .NET Platform Now! will go a long way towards tackling this on board, take the following steps: 1. Install Visual Studio .NET 2003 If you only have Visual Studio .NET 2002, you