p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning ASP.NET 4 : in C# and VB (http://p2p.wrox.com/forumdisplay.php?f=560)
-   -   Visual Studio sln (http://p2p.wrox.com/showthread.php?t=85584)

sophia November 4th, 2011 02:35 PM

Visual Studio sln
Hello Imar,
My question is regarding solution file. Earlier I had VS2008, in which when I used to create a new web site project then it showed a folder for that project in its start page's recent project item, and no confirmation about to save sln file. But now I have VS 2010, and I create similarly web site project but it shows now a blue Visual Studio Icon (an infinity symbol) in recent project item, and on closing the project it asks for saving the sln file.

What is wrong going on?

Imar November 5th, 2011 05:00 AM

A .sln (solution) file is a container for one or more projects in Visual Studio so you can group them and treat them as a unit. VWD creates SLN files as well. You can force VWD to always show the solution (in Tools | Options | Projects and Solutions) and then you could save it elsewhere if you wanted to.

As long as you're working with a single project at a time, you don't have to worry much about the solution file.



sophia November 6th, 2011 03:44 AM


How would you manage multiple projects at a time, and what is meant by that?
How solution file will contain those multiple projects?


Imar November 7th, 2011 04:35 AM

You can have a solution with many different projects and project types. A common use case for this is to have a web site or web application and one or more separate class libraries for (reusable) code. For an example, take a look here: http://imar.spaanjaars.com/476/n-lay...l-introduction



sophia November 7th, 2011 02:00 PM

Thanks for amazing link. Really article seems very informative. I will read the whole series.

All times are GMT -4. The time now is 11:00 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.