OK, here's what's happening (Visual Studio.NET 2003, Windows 2000 workstation): I have a project that's in a subdirectory off the main project. Was working, but now when I start up VisualStudio.net, it comes up with a dialog box to "Set Project Location - nav"
and "Select the location for the working copy of your Web projects. You can either accept the default location or change it by clicking in the cell and editing it." In the cell, it has the path to my sub project "c:\inetpub\wwwroot\siteroot\nav" with an extention
on it (so it is "c:\inetpub\wwwroot\siteroot\nav_1". When I take off the "_1" I get an error that says "One or more of the project's destination paths are invalid. To open this solution, you must specify valid paths for each project. The error returned was
"The Web at http://url/nav" already contains a project. You need to choose another location for your Web project." OF COURSE THERE'S A FRIGGIN WEB PROJECT THERE!!!! I'm trying to EDIT it, not CREATE it!!!! What in blazes is going on here? Anyone have any ideas?
TIA,
The way it worked for me is that I selected a random folder that is inside the folder proposed by VS, in your case a random folder inside nav_1 and pressed ok. It then starts straight away pulling everything from source safe.
the web at http://localhost already contains a project. --> I agree this really pulls out the hair.
Actually that random folder should be an empty folder created by us for the purpose.
Another way is to delete everything inside (in this case nav_1), then going to source safe and pulling only the solution file and project file, and then opening the solution, VS opens and pops up that same question: Set project location. Here you choose
the folder in focus: nav_1. Press Ok, and VS starts pulling the rest of the files.
the web at http://localhost already contains a project
2.Goto VS 2003 file menu and open SourceConytrol-->Open from SourceControl
3.Solution popup window will come and select that solution.Solution starts loading in Visual studio and in the folder which you set the path in VSS simultaneously.
4.Make sure that you have virtual directory created prior to doing all these things.
this solved my problem hope it works for you as well.
ojm37
Contributor
2248 Points
832 Posts
Pulling out my HAIR (Set project location)
Dec 03, 2004 06:18 PM|LINK
CelloJ
Member
40 Points
8 Posts
Re: Pulling out my HAIR (Set project location)
Feb 10, 2006 09:15 PM|LINK
Apparently no one know how to do this...
Here is apost on Google Groups about it:
http://groups.google.com/group/microsoft.public.vsnet.ide/browse_thread/thread/ae7182113feb4e1b/56890c596a9f2d36?lnk=st&q=%22You+need+to+choose+another+location+for+your+Web+project%22&rnum=1#56890c596a9f2d36
Please help.
pedrogameiro...
Member
64 Points
16 Posts
Re: Pulling out my HAIR (Set project location)
May 19, 2010 05:47 PM|LINK
The way it worked for me is that I selected a random folder that is inside the folder proposed by VS, in your case a random folder inside nav_1 and pressed ok. It then starts straight away pulling everything from source safe.
the web at http://localhost already contains a project. --> I agree this really pulls out the hair.
pedrogameiro...
Member
64 Points
16 Posts
Re: Pulling out my HAIR (Set project location)
May 19, 2010 06:25 PM|LINK
Actually that random folder should be an empty folder created by us for the purpose.
Another way is to delete everything inside (in this case nav_1), then going to source safe and pulling only the solution file and project file, and then opening the solution, VS opens and pops up that same question: Set project location. Here you choose the folder in focus: nav_1. Press Ok, and VS starts pulling the rest of the files.
the web at http://localhost already contains a project
sknaiem
Member
2 Points
1 Post
Re: Pulling out my HAIR (Set project location)
Jun 11, 2010 06:22 AM|LINK
Answer to this problem is:
1.Intially delete the webapplication folder
2.Goto VS 2003 file menu and open SourceConytrol-->Open from SourceControl
3.Solution popup window will come and select that solution.Solution starts loading in Visual studio and in the folder which you set the path in VSS simultaneously.
4.Make sure that you have virtual directory created prior to doing all these things.
this solved my problem hope it works for you as well.