Can't Figure out how to update mscorlib to 4.2.0.0 on Cobra/EMX

When I try to deploy my application from VS, I get this error:

Link failure: some assembly references cannot be resolved!!
Assembly: FEZ Cobra Console Application (1.0.0.0) needs assembly ‘MFWebSockets.Core’ (1.0.0.0)
Assembly: MFWebSockets.Core (1.0.0.0) needs assembly ‘mscorlib’ (4.2.0.0)
Assembly: MFWebSockets.Core (1.0.0.0) needs assembly ‘Microsoft.SPOT.Native’ (4.2.0.0)
Assembly: MFWebSockets.Core (1.0.0.0) needs assembly ‘System.Http’ (4.2.0.0)
Assembly: MFWebSockets.Core (1.0.0.0) needs assembly ‘System’ (4.2.0.0)
Assembly: MFWebSockets.Core (1.0.0.0) needs assembly ‘System.Xml’ (4.2.0.0)
Assembly: MFWebSockets.Core (1.0.0.0) needs assembly ‘System.Text.RegularExpressions’ (0.0.0.0)
Assembly: MFWebSockets.Core (1.0.0.0) needs assembly ‘System.IO’ (4.2.0.0)

Here is what I see from MFDeploy, when I get device info:

DeviceInfo:
HAL build info: 4.1.2821.0, Microsoft Copyright (C) Microsoft Corporation. All rig
OEM Product codes (vendor, model, SKU): 255, 0, 65535
Serial Numbers (module, system):
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
Solution Build Info: 4.1.5.1, GHI Electronics, LLC
AppDomains:
default, id=1
Assemblies:
mscorlib,4.1.2821.0
Microsoft.SPOT.Native,4.1.2821.0
FEZ Cobra Console Application,1.0.0.0
Microsoft.SPOT.Hardware,4.1.2821.0
FEZCobra_GHIElectronics.NETMF.FEZ,4.1.5.0
MFWebSockets.Core,1.0.0.0

So, how can I update the mscorlib, etc?

Look for EMXUpdater.exe inside your installation folder:

i.e.

“C:\Program Files (x86)\GHI Electronics\GHI Premium NETMF v4.2 SDK\Firmware Update”

It will shows exact steps to put the module into the right state and will upgrade the firmware for you.

I have been trying that quite a bit. I can ping the device from the EMX updater app, but after I follow the steps, select tinybooter and firmeware files, it just gives this error “cannont connect to the device! Follow steps 1 to 5”

Here is some more relevant info:

Please wait while rebooting in TinyBooter mode…
TinyBooter Version: 4.1.3.0
Firmware Version: 4.1.5.1

Update USB driver manually and try different USB port. That is what helped me in similar situation.

I had to follow the steps here:

Specifically, this section “TinyBooter Update through GHI Boot Loader”

So did it work for you?

Yes, this seems to have worked. Now I have a separate problem, my Dns query keeps timing out.

var hostEntry = Dns.GetHostEntry(host);

I’ll open up a new thread on this error however.