how to save solution SLn file in project folder only

Posted on 2008-11-05
Medium Priority
Last Modified: 2013-11-26
I am visual studio 2005.
right if I create any project then the project or solution (SLN) file get saved in Doc and setting/.... folder

Is there any way by which the solution gets saved within the project folder only
and also is there any by which i can view the line no while i am writing the code.
I have seen line in code view in some dot net vidoes
Question by:ziorrinfotech
  • 2

Accepted Solution

Woodz earned 150 total points
ID: 22886901
In Tools->Options, Under 'Projects and Solutions', change the location of 'Visual Studio projects location' as required - this will save new solution .SLN files in the desired location.

To show line numbers, in Tools->Options, Under 'Text Editor', select the language, and select 'Line Numbers' in the Display section.

Hope this helps.

Author Comment

ID: 22887547
Hi Woodz

Thanks for your help.
if I choose Visual Studio projects location then the that location will be for all project which I will create
What  I want here is suppose if I create a new website on c:\website1 folder then the sln file get saved in c:\website1 folder only.
and later if I create a new project in d:\newporject folder then the sln file for this project gets saved under d:\newproject folder only.

Expert Comment

ID: 22888807
When you select New Project, it will give you the different options for the type of program being created. At the bottom, there is a Location text field, that allows you to specify where the folder and sln file will be created. If you change this to the desired location, that single project and solution file will be created there. The only files created in Doc and setting/.... folder is the backup of the solution.

Hope this helps.

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month14 days, 5 hours left to enroll

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question