How to add Components on Device?

jesb4ppc

Member
Licensed User
Hi,

I've been developing an application on Desktop, and then compile it to a Device .exe file. Running it on the device, it doesn't works. Says it has some missing components.

So, I install basic4ppc V6.01 on my device (HTC P3600), and tried to load the source, the same one that works on Desktop. But the error keeps launching.

I copy and paste the working desktop code to a new one source in the Device, but when I try to add components (serial.dll and bitwise.dll) to create the required objects, I don't see any .dll's to add. (?)

I installed .Net CF 1.0 SP3, and .Net CF 2.0 SP2, and now the About option in the Device says I have .Net version 2.0.7045.

I wrote a Hello World application, and try to add components. All I got is some Dll's like the following:

"GAC_CustomMarshalers_V2_0_0_0_cneutral_1
GAC_Microsoft.VisualBasci_v8_0_0_0_cneutral_1
...."
and so on, but none of the Serial.dll, hardware.dll, etc, libraries I find in the Desktop.

What am I doing wrong? How do I do to be able to write and test applications from my device, or at least, put on work the ones I develop in the Desktop?

Thanks in advance,

Jesus.
 

jesb4ppc

Member
Licensed User
Solved.

Hi Agraham,

I forgot that the Explorer, and also the basic4ppc in the device only sees one level of the directory tree. My fault. :sign0137:

So, just have move all, the source and the libraries to a directory created in the root, and it's working, running it from device, and running the compiled version.

But... what do I have installed, this GAC_... things?

Thank you for your answer, Agraham.


:)sign0098:
 

agraham

Expert
Licensed User
Longtime User
But... what do I have installed, this GAC_... things?
GAC is the "Global Assembly Cache" where all the .NET Common Language Runtime components are installed and from the two titles you give they are definitely part of .NET. I am a bit surprised they appear in "Add Components", they are hidden on my device. Just ignore them.
 
Top