Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving a project to a new location?
Message
De
23/06/2010 12:46:09
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
C# 2.0
Divers
Thread ID:
01470309
Message ID:
01470328
Vues:
40
>>>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.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform