ResXFileCodeGeneratorEx Update for VS2010

April 27, 2012

If you were using this tool in Visual Studio 2008 and then upgraded your solution to Visual Studio 2010, you might have noticed that this functionality no longer worked. You also might have received an error, which you dismissed.

ResXFileCodeGeneratorEx is an awesome tool and I’m surprised it still hasn’t been officially updated to support Visual Studio 2010.

Well after doing some digging around, I found an article with a work around that enables this functionality in Visual Studio 2010. Here are the instructions to get it working on your machine, followed by an example:

  1. Shut down Visual Studio 2010.
  2. If you don’t already have the tool ResXFileCodeGeneratorEx downloaded and installed, please do so. You can get the latest installer from http://dmytro.kryvko.googlepages.com/
  3. Save the attached file in this email and remove the .temp extension.
  4. Double click the attached file that you renamed and have it add its contents to your Registry.
  5. Restart Visual Studio 2010.

Here is a working example of how to use the tool. Say you want to add a new entry to the PageText.resx resource file contained in your solution and the entry was “Abandoned”:

  1. Open up PageText.resx by double clicking the file.
  2. Add “Abandoned” in the name and “Abandoned” in the value.
    clip_image002
  3. Click Save.
  4. Next right click on PageText.rex and click on Run Custom Tool as shown below…
    clip_image002[8]
  5. Now you can reference this value from your code by typing in PageText.
    clip_image002[10]

Hope that helps.

Advertisements

2 Responses to “ResXFileCodeGeneratorEx Update for VS2010”

  1. João Brandão Says:

    Hi,
    Does anyone knows to get ResXFileCodeGeneratorEx working on Visual Studio 2012.
    Thanks.


  2. […] up to a post I did in 2012 on ResXFileCodeGeneratorEx Update for VS2010, here are links to download this tool for Visual Studio 2015 and Visual Studio […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

toon vanhoutte

Blogging about connecting devices, systems and people! On-premises and in the cloud. Microsoft stack only.

Ken Cenerelli

My life in software development

scomfaq.wordpress.com/

Things about System Center and Cloud...

Build HoloLens

All about HoloLens

DevDays®

For web designers and cloud developers

Build Azure

All about the Microsoft Cloud

vishal patel

Software Developer, Windows 8 and Windows Phone Enthusiast

SQL with Manoj

SQL Server (TSQL) Programming, DB concepts, Tips & Tricks with >400 articles... comments welcome!!!

dragablz.wordpress.com/

Dragable, tearable, dockable WPF TabControl. Open source to boot.

Adrian Hall

Because Developers are Awesome

Ratish Philip's Blog

Another adventure in code...

codematrix

Application Architecture at it's best

One Unicorn

Thoughts from one member of the Entity Framework team...

Rachel Lim's Blog

Simplifying programming into something I can understand

.NET Developer's Blog

Software Development, Flying and Life

The Flying Maverick

Software Development, Flying and Life

Hiking Photography

Beautiful photos of hiking and other outdoor adventures.

paint.net blog

The best free image and photo editor. By Rick Brewster.

Learning by Shipping

products, development, management...

%d bloggers like this: