I have a Visual Studio.NET solution with a couple of projects under it. One
of them is an ASP.NET web project hosted under my localhost. Everything is
under version control.
We have renamed our product, and for consistency, I want to rename the
solution, web project, and IIS folder. For example:
Solution: MyApp (want rename to NewApp)
Stored in: C:\Development\MyApp (rename to C:\Development\NewApp)
Web Project: MyProject (rename to NewApp)
Hosted at: http://localhost/MyApp (rename to http://localhost/NewApp)
Stored in: C:\Inetpub\wwwroot\MyApp (rename to
C:\Inetpub\wwwroot\NewApp)
Executable: c:\Inetpub\wwwroot\MyApp\bin\MyApp.dll (rename to
C:\Inetpub\wwwroot\NewApp\bin\NewApp.dll)
Dll project: MyDllProject (rename to NewDllProject)
Stored in: C:\Development\MyApp\MyDllProject (rename to
C:\Development\NewApp\NewDllProject)
Generates: MyDllProject.dll (rename to NewDllProject.dll)
As you can see, the name appears in many places: IIS, Visual SourceSafe, the
solution files, the physical folders on the disk, and the names of the dlls.
Is there a way I can rename all this without causing the Visual Studio - VSS
- IIS link to break and retain the VSS history?
My first attempt for a test scenario resulted in a total disater with all
sorts of errors when trying to link back to VSS or IIS that required me to
recreate the solution, project, VSS try, and IIS structure.
Any suggestions are appreciated.
Thanks in advance,
Dan
Joe Masters - 26 Oct 2004 06:28 GMT
My suggestion would be to unbind from source control. Make changes to the
content all project files as necessary, and rename in VSS where necessary.
Then bind back to source control, or possibly use the Open from Source
Control command if the solution's directory has changed.
Joe
>I have a Visual Studio.NET solution with a couple of projects under it. One
> of them is an ASP.NET web project hosted under my localhost. Everything is
[quoted text clipped - 35 lines]
>
> Dan
danc - 29 Oct 2004 00:18 GMT
Thanks Joe,
I will try that. I will probably still have some issues related to renamed
directories, but I might be able to take it one step at a time by renaming
the project first and going from there.
> My suggestion would be to unbind from source control. Make changes to the
> content all project files as necessary, and rename in VSS where necessary.
[quoted text clipped - 42 lines]
> >
> > Dan