I’m having a hard time getting this NETMF 4.1 to 4.2 upgrade thing going. Up 'til recently I was still using 4.1 with my Cobra board and was pretty much a happy coder, but now that I have upgraded my dev environment to NETMF 4.2 (I guess we’ll have to sooner or later, right?), I can’t even run/debug the simplest of apps. For instance, this is what Visual Studio spits out in the Output window whenever I try to debug a 4.2 project (a simple MF Console app with no other code except what comes with the template):
Loading start at a0e00000, end a0e1383c
Assembly: mscorlib (22.214.171.124) Assembly: Microsoft.SPOT.Native (126.96.36.199) Assembly: Microsoft.SPOT.Security.PKCS11 (4.2
.0.0) Assembly: System.Security (188.8.131.52) Loading Deployment Assemblies.
Attaching deployed file.
Assembly: MFConsoleApplication1 (184.108.40.206) Resolving.
Link failure: some assembly references cannot be resolved!!
Assembly: Microsoft.SPOT.Security.PKCS11 (220.127.116.11) needs assembly ‘Microsoft.SPOT.Hardware’ (18.104.22.168)
Assembly: System.Security (22.214.171.124) needs assembly ‘Microsoft.SPOT.Security.PKCS11’ (126.96.36.199)
The program ‘ Micro Framework application: Managed’ has exited with code 0 (0x0).
Waiting for debug commands…
And if I try to target NETMF 4.1 instead, the project builds OK, but whenever I try to debug it on the device, strangely,enough, the process halts with the following “build error”:
Error 1 Cannot deploy the base assembly ‘mscorlib’, or any of his satellite assemblies, to device - USB:EMX twice. Assembly ‘mscorlib’ on the device has version 188.8.131.52, while the program is trying to deploy version 4.1.2821.0
I have a Cobra board and along with the other sw packages I have also upgraded ithe board’s firmware to version 184.108.40.206.
This is all too confusing. I’ve been talking to GHI’s support staff and according to them I’m not supposed to be having these kinds of problems.
Maybe someone here might have something to share.