473,320 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Problem with Resource Files and Cab Project in COmpact Framework 2

I have a problem, when deploying multilingual applications using cab files on
Compact Framework 2.0. It seems that something is going wrong with compact
framework 2.0

Below I have a description of the problem

The main Smart Device Application contains 3 resource files under the
Properties folder, in order to produce localization satellite asseblies.
Those resource files are named Resources.resx (a default empty resource
file), Resources.en-GB.resx and Resources.de-DE.resx (which output
\en-GB\appName.resources.dll and \de-DE\appName.resources.dll in the
Application Folder of the Pocket PC). The project is deployed without any
problems in debug or release mode from Visual Studio in the Pocket PC, and
everything works out fine. When a change in the culture is required, the
application handles it without problems and uses different resource files
(en-GB or de-DE).
Then I create a smart device cab project inside the above solution. In
project Output I added all available choices (although some of them might not
be needed). After a succesful built of the cab file I write/deploy the
CAB-installation file of the application in the Pocket PC. From that point,
the resource above files, fail to cooperate with the application. They are
not being used anymore and the application crashes. Although the code (for
the resource management) remains the same, the resource dlls in the Pocket
PC(\en-GB\appName.resources.dll and \de-DE\appName.resources.dll) are
different from the same dlls that were produced in the (working) debug mode
of Visual Studio (in the Bin\Debug folder). In fact they have the exact same
size(840K), the same case sensitive names but they differ in binary level. It
seems that the deployment of these resource dlls (or satellite assemblies)
through a cab project, slightly changes these files and the application
cannot recognise them. I also tried the same resource files in different
project with a different cab project with the same results. The same thing
happens if these files are deployed as content. When in the Pocket PC, they
have slightly changed. In fact, if I paste/replace these files produced from
debug mode in the Pocket PC (where they were deployed from the cab project),
the application works fine, so it's not a conversion problem of activesync.
The cab project resource dlls are just different from the original dlls
produced by the application project.
Dec 19 '05 #1
0 1966

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
2
by: HaukiDog | last post by:
Hi, I am trying to set up my C# web project to be compiled by NANT. Everything compiles and works fine within the IDE. I have a created a NANT build file which has a simple project tag, like...
7
by: charliewest | last post by:
Using .Net CF, i have created a 2 dimension ArrayList, and "binded" this list to a ComboBox control using the "DataSource" property. I have set the DisplaySource and ValueMember properties as well....
16
by: Robert W. | last post by:
I'm building a solution that has 1 component for the Desktop and 1 component for the Pocket PC. (Though this isn't a mobile question). I have a data library that will be shared on both platforms....
1
by: Lauchlan M | last post by:
Hi. I have an ASP.net project that works fine. I copied it to another project using the following steps: << (i) create a new VS.NET ASP.NET project.
16
by: Brad | last post by:
After compiling my asp.net project I'm receiving a "BC31011 - Access is denied" error when attempting to run or debug. The only thing that seems to resolve problem is IISReset. After a reset my...
0
by: Hitchkas | last post by:
I posted this question in PocketPC newsgroup with no answer. Hopefully somebody in this newsgroup can help me. I have problem with HTTP post in Compact Framework. The code below is a function...
1
by: Nickneem | last post by:
The following is driving me mad: VS2005 Compact framework, project upgraded from 2003. I get a cast exeception error trying to populate an imagelist (code is by design)...
0
by: Alejandro Gaio | last post by:
Hello All, I have a problem that appeared with the NEW VERSION of the vb.net compiler (VS 2008). To resume things, I have a project (call it "DocumentAdministrator") with several forms, and two...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.