From Visual Studio.net 2003 to 2010

I shall start the journey by using Visual Studio.net 2003 before looking at migrating to VS.net 2005, Vs.net 2008 and Vs.net 2010.

My environment is Windows Professional XP installed on a XP Virtual Machine on a Dell Inspiron 14R powered by Windows 7-64 bits.

Microsoft SQL Express 2008/R2 serves as the database server

Thursday, February 9, 2012

What is a Solution in VS.net ?

A solution is a structure for organizing projects in Visual Studio. It performs a function similar to Windows Program Group (.vbg) files in Visual Basic 6.0 and project workspace (.dsw) files in Visual C++ 6.0. The solution maintains the state information for projects in .sln (text-based, shared) and .suo (binary, user-specific solution options) files. For further information on .suo files, see Solution User Options (.suo) File.

If your VSPackage is loaded as a result of being referenced in the .sln file, the environment calls ReadSolutionProps to read in the .sln file.

The .sln file contains text-based information the environment uses to find and load the name-value parameters for the persisted data and the project VSPackages it references. When a user opens a solution, the environment cycles through the preSolution, Project, and postSolution information in the .sln file to load the solution, projects within the solution, and any persisted information attached to the solution.

Each project's file contains additional information read by the environment to populate the hierarchy with that project's items. The hierarchy data persistence is controlled by the project; the data is not normally stored in the .sln file, although you can intentionally write project information to the .sln file if you choose to do so. For more information relating to persistence, see Project Persistence and Opening and Saving Project Items.

More at http://msdn.microsoft.com/en-us/library/bb165951%28VS.80%29.aspx

TIP: Make sure that the virtual directory has the same name as your solution file name.

No comments:

Post a Comment