Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a project to a new location?
Message
 
 
To
24/06/2010 12:42:26
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01470309
Message ID:
01470458
Views:
27
>>>>>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

Thank you for your input, Tim. Hopefully this evening I will be finally moving this project. And hopefully it will be as painless as doctors (you and Mike <g>) ordered.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform