Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to migrate .RESX file when changing .NET Framework

Tags:

c#

.net

vb.net

How to migrate .RESX file when changing .NET Framework...

I was changing the .NET framework from 4.0 to 3.5 (because of an incompatbility we discovered in a third party dll) and everything went fine except some .RESX file got messed up. I was starting to fix them manually but is there some tool I can use for this? Or how do you guys do it?

like image 547
Denis Avatar asked Mar 12 '12 15:03

Denis


1 Answers

I've usually just gone through and edited the xml.

.NET 4.0

<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>

.NET 2.0

<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>

It doesn't take too long to do if you just do a find & replace. Everything seems to work out fine on recompile.

like image 145
B-Rad Avatar answered Sep 20 '22 08:09

B-Rad