Welcome to the Resource Refactoring Tool Homepage!
Resource Refactoring Tool provides developers an easy way to extract hard coded strings from the code to resource files.
It's been a long while since there had been any updates to tool. I am planning to start working on it again and the first thing I am doing is converting the power toy to be an editor extension in Visual Studio 2010 instead of an add-in
that requires a separate setup. I will keep updating this page as I have the new version ready, afterwards I will try to add some of the changes that were suggested. - Bertan Aygun
We just released Resource Refactoring Tool 1.0. You can download it from
Resource Refactoring Tool 1.0 release is updated to support Visual Studio 2008 as well.
Features for Resource Refactoring Tool
Quick Start to using Resource Refactoring Tool
- Works with C#, VB.Net languages. Supports all project types that ships with Visual Studio 2005 including web sites and web application projects.
- A preview window to show changes.
- Finds other instances of the text being replaced in the project automatically.
- Lists existing resources by their similarity level to the text being replaced.
- Automatically replaces hard coded string with a reference to resource entry.
Contributing to Resource Refactoring Tool
- Run ResourceRefactor.msi to install. If you have any earlier version please uninstall those versions first and run Visual Studio at least once before installing the new version.
- Launch Visual Studio 2005
- Open either a VB.Net or C# project
- Right click on a hard coded string in a a code window and choose Refactor - Extract to resource. If you don't see the menu item and you had a previous version of Resource Refactoring Tool installed before, you may have to reset the addin by running
Visual Studio from Visual Studio 2005 Command Prompt with the following arguments:
devenv.exe /resetaddin Microsoft.VSPowerToys.ResourceRefactor.Connect. This should fix the missing menu items.
- Choose the resource file you want to use and either choose an existing resource or create a new one. After closing the dialog window, string will automatically be replaced with the reference to resource you have chosen.
We're looking for developers to join us in future releases. Check out the current work items at
Feel free to contribute by
Getting Started with Resource Refactoring Tool Development.
- Either creating new or finding existing bugs or feature requests you want to work on
- Leave a note in the comments that you're going to investigate this bug (until you have developer rights, you won't be able to assign bugs to yourself)
- Download the latest sources and create a bug fix
- Zip up your changes and post them as an attachment to the work item
- Fill out the
Project_Assignment_Agreement.TIF form and follow the
Assignment Agreement Instructions to send it to us.
Note that by posting your submission to the Issue Tracker, you agree to do so under the
Join the Community
There are numerous ways you can participate in the Resource Refactoring Tool community
- Blog about Resource Refactoring Tool
- Ask and answer questions regarding Resource Refactoring Tool on the discussions tab
- Fix bugs or check in new features - see above section