Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a project to a new location?
Message
From
24/06/2010 12:42:26
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
23/06/2010 12:46:09
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01470309
Message ID:
01470424
Views:
36
>>>>Hi,
>>>>
>>>>I have an ASP.NET project currently residing in folder c:\inetpub\wwwroot\MyProj. I want to move it to another drive and another folder (e.g. d:\myVs2005Projects\MyProj. The way I see doing it is by copying all files from the older location folder to the new location folder; then creating a new project in VS2005 and adding all pages and files from the new location to the new project. My questions are:
>>>>1. is there a more efficient approach?
>>>>2. do any files retain the old folder name hard-coded (besides folder names for images; I will have to go through all of them manually and change)?
>>>>
>>>>TIA.
>>>
>>>Project should be fairly portable. Remove the project from the old solution, copy the project folder to where it needs to be, and then add the project to the new solution.
>>
>>Thank you. I will try this.
>
>I do this quite often. I don't like the folder name that VS autogenerates for a new project, so I usually remove the project, rename the folder, and re-add it. Works like a champ.

I agree, I don't like it either. I typically create and empty solution then close it and go move it out where I want it. Then I re-open the solution and right click and say new project. They end up where I want them. I never understood why they created a solution in a containing folder under that name with no control over it. Either way, moving them around is no big deal.
Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform