Modify source code of OpenNETCF.Net

  • Thread starter Marcela Rodriguez
  • Start date
M

Marcela Rodriguez

Hi,

I appreciate if you could help me. I need to modify the source code of
the AccessPoint class of the OpenNETCF.Net library, in order to
deactivate the method that returns the Signal Strength. I have already
done this, but when

public int SignalStrengthInDecibels
{
get
{
return rssi;
}
}


I build the solution, the following error is generating:

Cryptographic failure while signing assembly
'C:\OpenNETCF.Net\obj\Debug\OpenNETCF.Net.dll' -- 'Error reading key
file 'C:\OpenNETCF\OpenNETCF.SDF.snk' -- The system cannot find the file
specified. '

Regards,
Marcela



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
L

Lloyd Dupont

look in the AssemblyInfo.cs where should the OpenNetCF.SDF.snk file be
located.
then, eventually, copy it into the obj/Debug ...
 
A

Alex Feinman [MVP]

Comment out the following lines in the Assembly.cs

[assembly: AssemblyDelaySign(true)]
[assembly: AssemblyKeyFile(@"C:\OpenNETCF\OpenNETCF.SDF.snk")]

Make sure that you link the DLL you built to your project (that you are not
linking the one from GAC), and that Copy Local option is set to true
 
P

Paul G. Tobey [eMVP]

Because it's there, we removed it; then it wasn't there, so we added it
back? ;-)

Paul T.
 
M

marodri

If the question is why do I want to uncomment those lines? It is because
I found out that the library OpenNETCF.Net does not enable me to read
the SS of the access point as the RFUTILS did. I need to read the SS of
at least three access points in order to estimate the user's location
(by triangulation)using the PDA. We have found that the SNR is more
stable, but I realize that the OpenNETCF.Net library does not allow
this.

Thanks for all your help and comments,
Marcela



*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 
P

Paul G. Tobey [eMVP]

OK. The pieces that disappeared from RFUtils during the last pass should be
in the next drop of the SDF. The source changes are already in the system
and tested. There are also a couple of bug fixes in the RF stuff in the
latest source code.

Paul T.
 
M

marodri

I have already compiled the OpenNETCF.Net project and a new
OpenNETCF.Net.dll was generated. I added a refence to this dll to my
project, and in properties I set the Copy local to True.

But now, the application running in the PDA does not recognize the
classes of the OpenNETCF.Net.

The following error is launched:

" Could not load type OpenNETCF.Net.AdpaterCollection (which is the
first class of invoked in my program) from assembly OpenNETCF.Net,
Version=1.0.29004.0, Culture=neutral, PublicKey Tken=null."

Regard,
Marcela

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
 

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