Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why doesn't .sln files use XML format in .NET?

What was the particular reason behind that decision? It confuses me even more, since .csproj files has XML format.

like image 900
Attila Kun Avatar asked Jul 11 '11 20:07

Attila Kun


People also ask

What program is the preferred way to open an .sln file?

You can open the sln file of the project, for example, using Visual Studio Code.

What is .NET sln file?

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 .

What is the difference between sln and Vcproj file?

sln file is merely a collection of multiple . vcproj files. As Visual Studio can automatically create one if not present, there is no need to keep it for distribution or archiving.

Should I include .sln file in Git?

Yes, you always want to include the . sln file, it includes the links to all the projects that are in the solution. Save this answer. Show activity on this post.


1 Answers

The .sln file format was introduced nearly 15 years ago by Visual InterDev 97.
XML was only defined in 1998.

like image 108
SLaks Avatar answered Sep 21 '22 21:09

SLaks