Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving a project to a new location?
Message
 
 
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:
01470512
Views:
31
>>>>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.

Maybe you can clarify something. Here is what I did. I renamed the MyProject.sln in the Old location. Therefore, when I open VS 2005 it says it cannot find a reference to the MyProject project and I choose to remove it from VS 2005. So far so good. Then I copied the entire folder MyProjFolder to a new location. Then I create a new solution in the VS 2005. And where I get stock is how do I add my project from the new location to the new location. I think I can do it one file at a time but I was under impression that it can be done in one step. What am I missing?

Thank you
"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
Next
Reply
Map
View

Click here to load this message in the networking platform