Visual Studio Resource Refactoring Tool

Free

Resource Refactoring Tool allows easy extraction of hard-coded strings from Visual Basic, C#, XAML, ASPX and code to resx files.

(7) Review
Visual Studio
2012, 2010
Download (20,859)
8/20/2015
3.0
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (7)
Q and A (18)
Sign in to write a review
Sort by:

by icanttellyou | May 26 2015

by Kosgen | May 01 2015

Great tool!
To get it to work with Visual Studio 2013, you will need to edit the XML file located here:

C:\Users\<your username here>\AppData\Roaming\Microsoft\MSEnvShared\Addins
ResourceRefactor.AddIn

Change the Version to 12.0 for VS 2013

<HostApplication>
<Name>Microsoft Visual Studio</Name>
<Version>12.0</Version>
</HostApplication>

by JasonOnMSForum | April 10 2014

Got to say big thanks for upgrading this. Was one of my favourite tools, and now can use it with VS2012! Plus it now supports more features! Excellent work!

by dheijl | August 02 2011


Used to work fine in VS2008.

But the VS2010 version only partially works for me (VS2010 SP1 on W7 64-bit):

- extracting the string to a resource file works
- the preview is broken: line numbers stop counting at 255, with no visible indication of any changes to the source
- the extracted resource does not replace the original string(s) in the source file

Danny

by theodoreb | June 07 2011

I agree, non-fully qualified resource properties would be appreciated, otherwise good tool.

by dcstraw | January 31 2011

Seems to work quite well and saves a lot of time. Two requests:
1. Don't use the fully-qualified name of the resource class if there's a 'using' statement for the namespace
2. When undoing an extraction, remove extracted resources from the resource file (if they were newly-created)

Overall great work!

by Olmo | December 15 2009

Great work! Thanks for the port to VS2010 of this excelent tool. Would be nice te have it integrated as an extension instead of an MSI but this looks like a more dificult task.

Thanks!

Sign in to start a discussion


  • VS2013?
    2 Posts | Last post May 01, 2015
    • If anyone can recompile it for VS2013, or has the addin file, let me know at azchrisf@gmail.com
    • To get it to work with Visual Studio 2013, you will need to edit the XML file located here:
      
      C:\Users\<your username here>\AppData\Roaming\Microsoft\MSEnvShared\Addins
      ResourceRefactor.AddIn
      
      Change the Version to 12.0 for VS 2013 
      
      <HostApplication>
      <Name>Microsoft Visual Studio</Name>
      <Version>12.0</Version>
      </HostApplication>
  • Refactoring cshtml/razor code in VS 2013
    1 Posts | Last post December 08, 2014
    • I cannot tell whether this extension will give VS 2013 the capability to refactor in cshtml files where the c code is in razor @{blocks}.
      Currently, VS 2013 will show a refactor menu in a cs file, but not within a cshtml file.
      
      How do I get refactoring for cshtml files.  I am tiring of doing it manually.
  • Problem with VS 2012 for XAML Files
    1 Posts | Last post August 06, 2014
    • Hello ! I have tried to install the plugin in VS2012 (Update 4), and although the Refactor item is present in the context menu for strings, when I select it nothing happens. This problem is present for XAML files, but the plugin seems to work correctly in c# files.
      Does anyone have an idea on how to use the plugin in VS2012 for XAML ?
  • instalation on visual studio 2013
    3 Posts | Last post April 19, 2014
    • hi, need to install on VS2013. machine does not have VS2012. 
      any insight?
      
      thanks!
    • i already download the source, rebuilded it with visual studio and install it, but i got no refactor -> extract resource menu
    • seems to work ok on .cs files but no on .cshtml anyone has the same problem?
  • VS 2012
    8 Posts | Last post February 27, 2014
    • Great tool. Will it be available in VS2012 version ?
      Thanx
    • It definitely will. As soon as I will have time. And that should be soon, because I'm already using VS2012 and I miss this tool.
    • Any development on this? I am eagely waiting to use this in VS2012. Thanks.
    • I want to use it too in VS2012
    • Thanks for this great tool. But where is the VS2012 version? I really would appreciate this! Thanks anyway.
    • Is it hard to convert it to VS13? :) Thank You!
    • If Microsoft has not introduced any breaking changes (I hope not) it's just matter of configuration. I've already checked in the changes, but I have to install VS2013 to test them.
      Basically, if you are impatient, you can try it yourself. Locate ResourceRefactor.addin XML file in VS 2012 addins folder add block in XML that allows VS2013 (it's obvious from the ADDIN XML file). Then copy all the files to VS2013 addins folder and restart VS2013.
    • I've just tried editing the addin file, and also rebuilt and manually updated the binaries from head code. A simple test suggests that this works in VS2013. For reference the addin file is found in:
      C:\Users\<your username here>\AppData\Roaming\Microsoft\MSEnvShared\Addins
  • Double Enter
    1 Posts | Last post July 30, 2013
    • A very minor (but very useful) change. When I press a short-cut key to refactor, I can press enter on the dialog that appears, but I can't press enter a second time on the next dialog - I have to go grab my mouse. Can you fix this please?
  • Custom naming rules
    1 Posts | Last post May 31, 2013
    • Very useful tool. One small proposal: would be nice to have more options for naming but just CamelCasing - my personal preference for resource strings naming is full length and spaces replaced with underscores. I did not find a way to configure it. 
      Thank you!
  • Resource Cleanup Tool
    1 Posts | Last post October 26, 2012
    • I'm very pleased with the Refactoring tool - I use it with C# in VS2010. Thanks to the developer(s). :-D
      
      I have 2 questions:
      
      1) I'm now looking for a tool to remove dead/orphaned resource entities in the many resx files in my projects. I'm about to initiate translation of a number of projects and would like to clean the resx files for unused resources to reduce the translation cost. I'm very interested in information on existing tools to carry out this task, or help to how I myself can implement a tool doing the task.
      
      2) I'm looking into which translation system is the best for me. Currently I'm using RC-WinTrans (version 9) and have succedded with this system, but not without frustration and a lot of tedious/manual work. Translating from en-US to a number of very different languages with language dependant form-sizes and such requires some insight/hardcore knowledge which would be nice to have a system manage.
      Any suggestion as to which system to use for managing translation of a medium sized set of projects, including translation memory and such would be VERY appreachiated.
      
      Best Regards
      Jan Jochimsen
      Seven Technologies / Schneider Electric
  • Local resx only as an Embedded Resource issue
    1 Posts | Last post October 24, 2012
    • KG_
      Hello all.
      As it is written in your documentation, putting entries in local resource file requires it's build action to be set as "Embedded Resource". It is not convenient for me, I want to keep it set to "Content". However if I do this, the resx file does not display in a list of available files to write to in the tool. Is there anything that can be done with this?
      Regards
  • Silverlight and WP7?
    2 Posts | Last post September 14, 2012
    • Does the extension support Silverlight and Windows Phone 7.x projects?
    • I have no experience with WP7 or SL. If the platforms support RESX files (which I'm not sure about) the tool should work for them.
      Since both these platforms are dead, so if there is any bus related to it, I'm not gonna fix it (but feel free to contribute fix on CodePlex :-) - http://resourcerefactor2010.codeplex.com/).
1 - 10 of 18 Items