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 / Languages / Managed C++ / July 2006

Tip: Looking for answers? Try searching our database.

Renaming .NET VC++ projects

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Z.K. - 18 Jul 2006 16:09 GMT
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++] - 18 Jul 2006 16:30 GMT
>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.

Signature

Kind regards,
   Bruno van Dooren
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

Z.K. - 19 Jul 2006 06:38 GMT
>>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.
[quoted text clipped - 7 lines]
> 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.
Bruno van Dooren [MVP VC++] - 19 Jul 2006 07:08 GMT
>> 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.

Signature

Kind regards,
   Bruno van Dooren
   bruno_nos_pam_van_dooren@hotmail.com
   Remove only "_nos_pam"

Z.K. - 20 Jul 2006 05:30 GMT
>>>To rename a project in VC++ 2003 or higher, simply open its solution.
>>>then select the project in the solution explorer and press F2.
[quoted text clipped - 6 lines]
> 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.
David Connet - 22 Jul 2006 05:16 GMT
>>>>To rename a project in VC++ 2003 or higher, simply open its
>>>>solution. then select the project in the solution explorer and press
[quoted text clipped - 14 lines]
>  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
Z.K. - 28 Jul 2006 11:58 GMT
>>>>>To rename a project in VC++ 2003 or higher, simply open its
>>>>>solution. then select the project in the solution explorer and press
[quoted text clipped - 25 lines]
>
> 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.

Rate this thread:







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.