Cleaning up Project name and folders

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?
 
B

Bruce Hamilton [MSFT]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top