Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Source Safe / October 2004

Tip: Looking for answers? Try searching our database.

How to rename web solution+project under vss?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
danc - 26 Oct 2004 01:55 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.