News Feeds

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.

06/03/2010 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

02/13/2007 We just released Resource Refactoring Tool 1.0. You can download it from releases section.
10/28/2007 Resource Refactoring Tool 1.0 release is updated to support Visual Studio 2008 as well.

Features for 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.

Quick Start to using Resource Refactoring Tool
  1. 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.
  2. Launch Visual Studio 2005
  3. Open either a VB.Net or C# project
  4. 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.
  5. RefactoringTool-Menu.png
  6. 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.

RefactoringTool-Window.png

Contributing to Resource Refactoring Tool

We're looking for developers to join us in future releases. Check out the current work items at issue tracker.

Feel free to contribute by
  1. Reading Getting Started with Resource Refactoring Tool Development.
  2. Either creating new or finding existing bugs or feature requests you want to work on
  3. 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)
  4. Download the latest sources and create a bug fix
  5. Zip up your changes and post them as an attachment to the work item
  6. 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 CodePlex TOU

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

Last edited Jun 3, 2010 at 1:06 PM by bertanaygun, version 31