Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How to change default projects folder in VS.NET 2003?

Posted on 2005-03-30
Medium Priority
Last Modified: 2012-06-21
Normally Visual Studio wants to create new projects in this folder:

C:\Documents and Settings\Administrator\My Documents\Visual Studio Projects

However, I prefer to work in C:\MyFiles\Code

The problem is that due to some glitch VS only opens projects that were created in its default folder. Whenever I create a project in C:\MyFiles\Code and subsequently try to access it by clicking on the project name on the Start Page, Visual Studio says "The selected file is not a valid visual studio file." Even though it loads it up just fine if instead of clicking on its name I go to "Open Project >>" and select the file manually.

So, I'm wondering if there's a setting in VS that lets you specify the path for VS to use for all new projects? I'd like to change the default path to C:\MyFiles\Code, in hopes that newly created projects would then become openable by just clicking on them on the start page.

Alternatively, if anyone has any idea how to fix the problem of VS only recognizing projects that were created in its default directory, solving that would work as well.
Question by:IH666

Accepted Solution

rcarlan earned 1000 total points
ID: 13666062
Tools | Options | Environment | Projects and Solutions | Visual Studio projects location

I don't know if this will fix your problem. I can certainly open projects from the Start Page, no problem.

Author Comment

ID: 13666253
I changed it to c:\MyFiles\Code but Visual Studio still doesn't recognize these projects. For whatever reason it only recognizes projects created inside "My Documents" folder. I checked permissions and they are identical in all folders, so I'm at a loss why it likes that folder and none others.

I will keep the question open for a while and will increase & split the points in case someone else has any ideas, otherwise I'm accepting this as the answer.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A basic question.. “What is the Garbage Collector?” The usual answer given back: “Garbage collector is a background thread run by the CLR for freeing up the memory space used by the objects which are no longer used by the program.” I wondered …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

564 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