faqts : Computers : Software : Microsoft : .NET : Visual Studio

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

39 of 48 people (81%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

Microsoft: .NET: Visual Studio: File: Project: Solution: What is solution file? [.sln]

Jan 9th, 2004 12:36
Knud van Eeden,


----------------------------------------------------------------------
--- Knud van Eeden --- 20 December 2003 - 10:48 pm -------------------

Microsoft: .NET: Visual Studio: File: Project: Solution: What is 
solution file? [.sln]

---

Each project is by default part of a solution.

---

A solution is a collection of 1 or more (possibly related) projects in 
Microsoft Visual Studio.

---

The idea is that your single project might use information contained in
several projects.
So in this way you indicate this interrelationship.

---

This .sln files contain:

1. a list of one or more of the projects

2. the location of any items within the scope of this solution

3. the build configurations within the scope of this solution

---

or thus in Backus Naur Form:

solution = project+

           item*

---

So solution files can further contain information about:

 HTML files

 bitmaps

 icons

 XML files

 templates

 schemas

 ...

which are called solution items here.

---

This solution items are quite independent (you can remove them without
recompilation), but so are used by one or more of the projects in that
solution.

---

To see this zero or more solution items in your Visual Studio, check 
also:

Microsoft: .NET: Visual Studio: Project: File: Miscellaneous: View: 
How view 'miscellaneous files'?
http://www.faqts.com/knowledge_base/view.phtml/aid/28113/fid/1600

---
---

Note:

This .sln file informs where the project files are located, so you can
check here where that files can be found (for example if you did not
created it yourself, and have to find out more about that project).

---
---

Note:

In this .sln file the more general project information has been stored.

---

In the .suo file more user specific project information has been 
stored.

---
---

Help: see also:

[help: program: Microsoft Visual Studio: search for 'solution']

---

---
---

Book: see also:

---

[book: Flanders, Jon / Griffiths, Ian / Sells, Chris -  Mastering 
Visual Studio .NET - Appendix E.  Solution and Project File Formats]

---

[book: Hurwitz, Dan / Liberty, Jesse - Programming ASP.NET, 2nd 
Edition - Chapter 2.  Visual Studio .NET]

---

[book: Johnson, Brian / Skibo, Craig - Inside Microsoft Visual 
Studio .NET 2003 - Chapter 2.  Project Management in Visual 
Studio .NET]

---
---

Internet: see also:

---

Visual Studio: File: Project: Project: What is a project file in 
Microsoft Visual Studio? [.vbproj]
http://www.faqts.com/knowledge_base/view.phtml/aid/27513/fid/1600

---

Microsoft: .NET: Visual Studio: File: Project: Solution: Add: How add 
projects to your solution file?
http://www.faqts.com/knowledge_base/view.phtml/aid/28115/fid/1600

---

Microsoft: .NET: Visual Studio: File: Project: Solution: Structure: 
What is format of .sln file?
http://www.faqts.com/knowledge_base/view.phtml/aid/28121/fid/1600

---

Microsoft: .NET: Visual Studio: File: Project: Solution: What is 
a .suo solution file? [.sln]
http://www.faqts.com/knowledge_base/view.phtml/aid/28134/fid/1600

----------------------------------------------------------------------