Strange .Net CF GAC behaviour

  • Thread starter Thread starter Romu
  • Start date Start date
R

Romu

Stan Adermann gave me, some months ago, the tips to
register resources dll into the GAC.

Unfortunately, I have a lot of troubles with the GAC
behaviour, I can't make figure out what the program
result will be.

My test program tries to load a simple string, this
string is stored in the standard neutral DLL, in an
english one and in a french one.

When I run the program, sometimes I get the default
(neutral) message, sometimes I have
a "MissingMethodException". Sometimes no resources dll
are recorded, sometimes only the english one is.

That's really unpredictable. I can provide my little test
program for interested people. My config is Dell Axim X5
with PPC2003 and .Net CF SP1.

Thanks for your help.
 
Romu,

Please email me directly regarding this, and we'll see if we can't work out
the problem. (stana at microsoft dot com)


Stan Adermann
Developer
Microsoft .NET Compact Framework

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "Romu" <[email protected]>
| Sender: "Romu" <[email protected]>
| Subject: Strange .Net CF GAC behaviour
| Date: Tue, 9 Dec 2003 09:19:50 -0800
| Lines: 21
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| thread-index: AcO+eKcopcDwj7trSwap3jdbCl/b1Q==
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.compactframework:40390
| NNTP-Posting-Host: tk2msftngxa14.phx.gbl 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Stan Adermann gave me, some months ago, the tips to
| register resources dll into the GAC.
|
| Unfortunately, I have a lot of troubles with the GAC
| behaviour, I can't make figure out what the program
| result will be.
|
| My test program tries to load a simple string, this
| string is stored in the standard neutral DLL, in an
| english one and in a french one.
|
| When I run the program, sometimes I get the default
| (neutral) message, sometimes I have
| a "MissingMethodException". Sometimes no resources dll
| are recorded, sometimes only the english one is.
|
| That's really unpredictable. I can provide my little test
| program for interested people. My config is Dell Axim X5
| with PPC2003 and .Net CF SP1.
|
| Thanks for your help.
|
 
Thank you Stan, I've solved the problem.
I removed the SP1, did a soft reset and then re-installed
it.

Afterward, I deleted the french resx file (the file with
problems), re-deploy the project, tested it. And then I
re-created the french resx file re-deploy and it works
fine now. But why? I don't know.

The problem was very strange, I passed from the neutral
message to the "MissingMethodException" just swapping 2
lines in the .gac file.

Thank you for your help and particularly for your tips
about GAC resources.
 
Back
Top