IMPORTANT: OpenNETCF Smart Device Framework -- Re-install dialogduring deploy

N

Neil Cowburn [MVP]

This is an announcement regarding the re-deployment of the Smart Device
Framework CABs during application debug/deployment.

The appearance of the re-install dialog is due to an unsigned assembly
existing within the CAB files. Visual Studio .NET thinks this file is
signed and checks for its existence in the GAC on the device prior to
deploying the CAB. Since the assembly, OpenNETCF.Xml.dll in this case,
is not signed, it will not be found in the GAC, and Visual Studio .NET
re-deploys the CAB in an attempt to repair the installation on the device.

The fix for this involved assigning a strong name to OpenNETCF.Xml.dll
and rebuilding the CABs. No code changes took place.

We advise you to uninstall the Smart Device Framework from your
development machine and from any device where it is installed, and
install the updated version which can be downloaded from the link below:

http://www.opennetcf.org/smartdeviceframework.asp

OpenNETCF.org apologise for any inconvenience this may cause.

If you have further questions, please do not hesitate to contacts us at
(e-mail address removed). Thank you for your continued support of
OpenNETCF.org and the Smart Device Framework.

Thank you
Neil



--
Neil Cowburn, MVP
Co-founder, OpenNETCF.org
Technologist, Content Master Ltd
Microsoft .NET Compact Framework MVP

www.opennetcf.org | www.contentmaster.com
 
J

Jon Skeet [C# MVP]

Neil Cowburn said:
If you have further questions, please do not hesitate to contacts us at
(e-mail address removed). Thank you for your continued support of
OpenNETCF.org and the Smart Device Framework.

I just tried to post to (e-mail address removed), and the mail
bounced.

For the record, the contents of the mail was basically a bugfix to my
own code:


I've just found a bug in MonitorEx (which appears to be in the source
distribution but not the binary distribution, by the way - any reason
for that?)

The Enter method should read:

public void Enter()
{
Thread currentThread = Thread.CurrentThread;
while (true)
{
lock (stateLock)
{
if (currentOwner==currentThread)
{
lockCount++;
return;
}
}
enterExitEvent.WaitOne();
lock (stateLock)
{
if (currentOwner==null)
{
currentOwner=currentThread;
lockCount=1;
enterExitEvent.Reset();
return;
}
}
}
}

otherwise the lock isn't re-entrant.
 
N

Neil Cowburn [MVP]

Thanks for that. The correct email address is (e-mail address removed)
(not (e-mail address removed) -- sticky "S" key).

--
Neil Cowburn, MVP
Co-founder, OpenNETCF.org
Technologist, Content Master Ltd
Microsoft .NET Compact Framework MVP

www.opennetcf.org | www.contentmaster.com
 
R

Robert S. Wojciechowski

Neil,

Hmm, I just downloaded the SDF from the link below, uninstalled the SDF on
both my development box and the device and deployed a test project a few
times, but the same thing happens.

I looked around on our device but didn't see anything left over from the
previous SDF install, nor on my desktop after an uninstall, so it seems like
it's being completely removed.

Can you repro this?

-- Robert
 
P

Paul G. Tobey [eMVP]

I'm having a similar problem, yes. What device, OS, etc. are you using?
Are you installing on the device to \Windows?

Paul T.
 
P

Paul G. Tobey [eMVP]

You may need to do a reset on the device (try soft reset first, of course).
I'm not sure what, exactly, is going on, but a registry reset on my Windows
CE.NET 4.2 device, followed by a single reinstall of the SDF cleared
everything up for me.

Paul T.
 
R

Robert S. Wojciechowski

To answer your other post (although it shouldn't matter), the device is an
Intermec 760 running WM2003.

Well, I got an email from Neil giving me some things to try. I removed the
SDF, deleted stale OpenNETCF related keys in:


HKLM\SOFTWARE\Microsoft\.NETCompactFramework\Installer\Assemblies\Reference
HKLM\SOFTWARE\Microsoft\.NETCompactFramework\Installer\Assemblies\Global

and did a soft reset just to be sure and now everything seems cleared up.
The ticket looks to be the stale GAC assembly reference registry entries
that needed to be cleared out. Thanks Neil!

-- Robert
 

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