|
-
November 4th, 2010, 08:11 AM
#1
Winres error opening simple form
I want to use winres to edit a windows form application for internationalization. I made a simple test form containing just a button and I set "Localizable" to true (VS 2010/.Net 4). When I try to open the Form1.resx with winres, I get the error below. I must have some incorrect setting to have such a major problem with a trivial form?
Error - Failed to load the resource due to the following error:
System.ArgumentException: ResX file Type System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in the data at line 121, position 4 cannot be located. Line 123, position 5. cannot be parsed. ---> System.Xml.XmlException: Type System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in the data at line 121, position 4 cannot be located. Line 123, position 5. ---> System.TypeLoadException: Type System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in the data at line 121, position 4 cannot be located. ---> System.Xml.XmlException: Type System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a in the data at line 121, position 4 cannot be located. Line 121, position 4.
-
November 4th, 2010, 10:26 PM
#2
Re: Winres error opening simple form
-
November 5th, 2010, 03:24 PM
#3
Re: Winres error opening simple form
 Originally Posted by dglienna
No Net 4.0 ?
Yes, I am using Net 4.0. There are numerous other lines in the resx file containing "Version=4.0.0.0" which seem to be ok.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|