Resource Editor for .net compact

D

Davide

Hi,
I need to create a resource where I can access most resources for the application everywhere.
So I need the resource editor, but I can't find the editor that can handle the .resx for .net
compact. Can you tell me where I can find an application that able me to edit a .resx for .net cf?

Thanks Davide
 
J

Jim Cooper

Can you tell me where I can find an
application that able me to edit a .resx for .net cf?

Visual Studio.


Cheers,
Jim Cooper

__________________________________________

Jim Cooper (e-mail address removed)
Tabdee Ltd http://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__________________________________________
 
D

Davide

This is (more or less)the response if I try to open the .resx of .net cf with resourcer of Lutz.

System.ArgumentException: not valid input .Resx. Impossible to find a valid tag "resheader" for the
types of read and write resX.

at System.Resources.ResXResourceReader.ParseXml(XmlReader reader)
at System.Resources.ResXResourceReader.EnsureData()
at System.Resources.ResXResourceReader.GetEnumerator()
at Resourcer.ResourceBrowser.Load(String fileName)

So, I think that this application is not able to open the resourcer of .net cf.
 
S

Sergey Bogdanov

Just try to replace temporary:

<resheader name="Reader">
<value>System.Windows.Forms.Design.CFResXResourceReader,
System.CF.Design, Version=7.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a</value>
</resheader>
<resheader name="Writer">
<value>System.Windows.Forms.Design.CFResXResourceWriter,
System.CF.Design, Version=7.0.5000.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a</value>
</resheader>

with that:

<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>

When you complete editing, restore it again.
 
D

Davide

Yes, I found also this solution now :)

But what I can find is that you must not edit the file with wordpad BUT ONLY with notepad.
If you edit with wordpad, visual studio give you an error when it re-parse the file.

Bye,

Davide
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top