Cleaning up Project name and folders

  • Thread starter Thread starter William Bates
  • Start date Start date
W

William Bates

I am about 50% the way through a project, and have many UI forms,
classes, bitmaps, wav files etc.

Unfortunately when I started, I called the project (and its folder, and
hence namespace) by a silly name (My_First_Application).

I know that I can do it manually, but is there an easy way of changing
the namespace, project name, folder name and executable name?
 
Yes you can, although it can get tricky. Make a backup of your project
first.

Make sure you replace all occurences of the namespace and other names with
the new names. On fast way to do this is to use a text editor to go through
your .cs, .sln, .proj (etc.) files in your project.

If you're using Visual Studio 2005 Beta 2, don't forget the partial
classes. From the Project menu, choose Show All Project files.

- Bruce Hamilton
..NET Compact Framework User Education
 
Back
Top