Renaming .NET VC++ projects

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Z.K.

    Renaming .NET VC++ projects

    I was wondering if someone might tell me how to rename a VC++.NET 2003
    project or is there a product that might do it for me that I could buy. If
    I was using VC++ 6, I could use a product called copywiz, but it does not
    seem to support VC++.NET.

    Z.K.


  • Bruno van Dooren [MVP VC++]

    #2
    Re: Renaming .NET VC++ projects

    >I was wondering if someone might tell me how to rename a VC++.NET 2003
    project or is there a product that might do it for me that I could buy.
    If
    I was using VC++ 6, I could use a product called copywiz, but it does not
    seem to support VC++.NET.
    Hi,

    To rename a project in VC++ 2003 or higher, simply open its solution.
    then select the project in the solution explorer and press F2.
    Change the project name, press enter.

    --

    Kind regards,
    Bruno van Dooren
    bruno_nos_pam_v an_dooren@hotma il.com
    Remove only "_nos_pam"


    Comment

    • Z.K.

      #3
      Re: Renaming .NET VC++ projects

      Bruno van Dooren [MVP VC++] wrote:
      >>I was wondering if someone might tell me how to rename a VC++.NET 2003
      >>project or is there a product that might do it for me that I could buy.
      >>If
      >>I was using VC++ 6, I could use a product called copywiz, but it does not
      >>seem to support VC++.NET.
      >
      >
      Hi,
      >
      To rename a project in VC++ 2003 or higher, simply open its solution.
      then select the project in the solution explorer and press F2.
      Change the project name, press enter.
      >
      Thanks a lot, how about with version 2002 which is what I use at home.

      Z.K.

      Comment

      • Bruno van Dooren [MVP VC++]

        #4
        Re: Renaming .NET VC++ projects

        >To rename a project in VC++ 2003 or higher, simply open its solution.
        >then select the project in the solution explorer and press F2.
        >Change the project name, press enter.
        >>
        >
        Thanks a lot, how about with version 2002 which is what I use at home.
        I think it should work as well. It has been 4 years since I used it though.
        For home use you could also use VC2005 express. it's free.
        However, it does not come with MFC, ATL and some other stuff, so it might
        not be sufficient for what you do.

        --

        Kind regards,
        Bruno van Dooren
        bruno_nos_pam_v an_dooren@hotma il.com
        Remove only "_nos_pam"


        Comment

        • Z.K.

          #5
          Re: Renaming .NET VC++ projects

          Bruno van Dooren [MVP VC++] wrote:
          >>>To rename a project in VC++ 2003 or higher, simply open its solution.
          >>>then select the project in the solution explorer and press F2.
          >>>Change the project name, press enter.
          >>>
          >>
          >>Thanks a lot, how about with version 2002 which is what I use at home.
          >
          >
          I think it should work as well. It has been 4 years since I used it though.
          For home use you could also use VC2005 express. it's free.
          However, it does not come with MFC, ATL and some other stuff, so it might
          not be sufficient for what you do.
          >
          Well, I tried what you suggested and though it does rename the project,
          the other files are still the same name. I was looking for something
          that would rename the entire project including all the files with the
          same name. Oh well, I guess there is not anything like that. Too bad
          Microsoft did not include such a tool. It would have been very useful.

          Z.K.

          Comment

          • David Connet

            #6
            Re: Renaming .NET VC++ projects

            "Z.K." <nospam@nospam. netwrote in
            news:#mvZHU7qGH A.2108@TK2MSFTN GP03.phx.gbl:
            Bruno van Dooren [MVP VC++] wrote:
            >>>>To rename a project in VC++ 2003 or higher, simply open its
            >>>>solution. then select the project in the solution explorer and press
            >>>>F2. Change the project name, press enter.
            >>>>
            >>>
            >>>Thanks a lot, how about with version 2002 which is what I use at
            >>>home.
            >>
            >>
            >I think it should work as well. It has been 4 years since I used it
            >though. For home use you could also use VC2005 express. it's free.
            >However, it does not come with MFC, ATL and some other stuff, so it
            >might not be sufficient for what you do.
            >>
            >
            Well, I tried what you suggested and though it does rename the
            project, the other files are still the same name. I was looking for
            something that would rename the entire project including all the files
            with the same name. Oh well, I guess there is not anything like that.
            Too bad Microsoft did not include such a tool. It would have been
            very useful.
            ren ThisProject.* ThatProject.*
            cd res
            ren ThisProject.rc2 ThatProject.rc2
            cd ..
            vim ThatProject.* *.rc res\*.rc2
            (search/replace all instances of ThisProject.

            I do this all the time... Wizards just get in the way...

            Dave Connet

            Comment

            • Z.K.

              #7
              Re: Renaming .NET VC++ projects

              David Connet wrote:
              "Z.K." <nospam@nospam. netwrote in
              news:#mvZHU7qGH A.2108@TK2MSFTN GP03.phx.gbl:
              >
              >
              >>Bruno van Dooren [MVP VC++] wrote:
              >>
              >>>>>To rename a project in VC++ 2003 or higher, simply open its
              >>>>>solution . then select the project in the solution explorer and press
              >>>>>F2. Change the project name, press enter.
              >>>>>
              >>>>
              >>>>Thanks a lot, how about with version 2002 which is what I use at
              >>>>home.
              >>>
              >>>
              >>>I think it should work as well. It has been 4 years since I used it
              >>>though. For home use you could also use VC2005 express. it's free.
              >>>However, it does not come with MFC, ATL and some other stuff, so it
              >>>might not be sufficient for what you do.
              >>>
              >>
              >>Well, I tried what you suggested and though it does rename the
              >>project, the other files are still the same name. I was looking for
              >>something that would rename the entire project including all the files
              >>with the same name. Oh well, I guess there is not anything like that.
              >Too bad Microsoft did not include such a tool. It would have been
              >>very useful.
              >
              >
              ren ThisProject.* ThatProject.*
              cd res
              ren ThisProject.rc2 ThatProject.rc2
              cd ..
              vim ThatProject.* *.rc res\*.rc2
              (search/replace all instances of ThisProject.
              >
              I do this all the time... Wizards just get in the way...
              >
              Dave Connet
              Well, I managed to do it by hand, but it took a lot of time and editing
              before the project would compile properly.

              Z.K.

              Comment

              Working...