/// Monday, November 21

VS2005 Tip - How to Rename a Class (not so obvious)

If you rename a class by refactoring, VS2005 does not prompt to rename the file to match the new class name. It's good practice for the file to be named after the class.

Here's the trick. Rename the file in Solution Explorer first and VS2005 will ask to rename the class and update all references.


Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?