Results 1 to 8 of 8

Thread: [2005] Changing Project Name

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    115

    [2005] Changing Project Name

    I wish to change the name of my project. How complicated is this? What do I have to consider?

    Thanks.

  2. #2

  3. #3
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: [2005] Changing Project Name

    What do you have to consider? I guess.. the new name? Seriously though, just look at the solution explorer, right click on the project and click Rename. Then just type in the new name. Then just run the project and it should work fine, renamed and all.

    Unless you mean renaming the folders as well. Do you?

  4. #4
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: [2005] Changing Project Name

    Just renaming project shouldn't be a big of deal at all.
    If you have very large project with complex structure and it is also part of source safe ...
    Long story short - if you ever need to re-structure something like that then you have a task with lots of headach...

  5. #5
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,222

    Re: [2005] Changing Project Name

    One thing to keep in mind is that renaming a project doesn't change the name of the folder it's stored in. That isn't really problem because the actual folder structure doesn't matter in the VS Solution Explorer. I would recommend just living with that, although I know some people have to have things done completely. In that case you'd have to manually change the folder name in Windows Explorer, then edit the SLN file to point to the new folder path. Note that SLN files are just plain text so you can open them in Notepad. You'd then at least have to reload the solution and maybe manually adjust and references to that project too. If you require completeness then you have to live with the tedium.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  6. #6
    Frenzied Member
    Join Date
    Mar 2006
    Location
    Pennsylvania
    Posts
    1,069

    Re: [2005] Changing Project Name

    Quote Originally Posted by RhinoBull
    Just renaming project shouldn't be a big of deal at all.
    If you have very large project with complex structure and it is also part of source safe ...
    Long story short - if you ever need to re-structure something like that then you have a task with lots of headach...
    That's not necessarily true at all.

  7. #7

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Jun 2007
    Posts
    115

    Re: [2005] Changing Project Name

    Quote Originally Posted by jmcilhinney
    One thing to keep in mind is that renaming a project doesn't change the name of the folder it's stored in. That isn't really problem because the actual folder structure doesn't matter in the VS Solution Explorer. I would recommend just living with that, although I know some people have to have things done completely. In that case you'd have to manually change the folder name in Windows Explorer, then edit the SLN file to point to the new folder path. Note that SLN files are just plain text so you can open them in Notepad. You'd then at least have to reload the solution and maybe manually adjust and references to that project too. If you require completeness then you have to live with the tedium.

    yeah this is kind of what i figured.... will app data paths still point to the same place as well?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width