FEZ Cerb40 II - NetMF4.3 Libraries And Won't debug?

A few questions, I’m switching back to developing for my Cerb40 II and I’ve updated to NetMF4.3 seemingly on the device.

Fez Config

[quote] Loader (TinyBooter) version information:
4.3.4.0 on this computer.
4.3.4.0 on this device.

The Loader (TinyBooter) is up to date. <<<

Firmware (TinyCLR) version information:
4.3.6.0 on this computer.
4.3.6.0 on this device.

The Firmware (TinyCLR) is up to date. <<<
Please wait for the device to reboot… Done.[/quote]

Debug Output

Are there only 4.2 libraries available for the pins/etc? [quote]
Found debugger!

Create TS.

Loading start at 8078af4, end 809ea80

Assembly: mscorlib (4.3.1.0) Assembly: Microsoft.SPOT.Native (4.3.1.0) Assembly: Microsoft.SPOT.Hardware (4.3.1.0)
Assembly: Microsoft.SPOT.Graphics (4.3.1.0) Assembly: Microsoft.SPOT.TinyCore (4.3.1.0)
Assembly: Microsoft.SPOT.IO (4.3.1.0) Assembly: System.IO (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.Usb (4.3.1.0)
Assembly: Microsoft.SPOT.Hardware.SerialPort (4.3.1.0) Assembly: Microsoft.SPOT.Hardware.PWM (4.3.1.0)
Loading Deployment Assemblies.

Attaching deployed file.

Assembly: Microsoft.SPOT.Net (4.3.1.0) Attaching deployed file.

Assembly: GoBus (1.5.0.0) Attaching deployed file.

Assembly: FrequencyCounterI2CTest (1.0.0.0) Attaching deployed file.

Assembly: System (4.3.1.0) Attaching deployed file.

Assembly: GHI.OSHW.Hardware (4.2.6.1) Attaching deployed file.

Assembly: GHI.Hardware.FEZCerb (4.2.6.1) Attaching deployed file.

Assembly: GHI.OSHW.Native (4.2.6.1) Attaching deployed file.

Assembly: SecretLabs.NETMF.Hardware (4.3.1.0) Attaching deployed file.

Assembly: SecretLabs.NETMF.Hardware.Netduino (4.3.1.0) Resolving.

Link failure: some assembly references cannot be resolved!!

Assembly: GHI.OSHW.Hardware (4.2.6.1) needs assembly ‘mscorlib’ (4.2.0.0)

Assembly: GHI.OSHW.Hardware (4.2.6.1) needs assembly ‘Microsoft.SPOT.Hardware’ (4.2.0.0)

Assembly: GHI.OSHW.Hardware (4.2.6.1) needs assembly ‘Microsoft.SPOT.Native’ (4.2.0.0)

Assembly: GHI.Hardware.FEZCerb (4.2.6.1) needs assembly ‘mscorlib’ (4.2.0.0)

Assembly: GHI.OSHW.Native (4.2.6.1) needs assembly ‘mscorlib’ (4.2.0.0)

Error: a3000000

Waiting for debug commands…

The program ‘[7] Micro Framework application: Managed’ has exited with code 0 (0x0).
[/quote]

You need to remove all your old references you have in your code and replace them with the current ones. Plus, you need to get rid of the Netduino ones completely…

[quote]Assembly: SecretLabs.NETMF.Hardware.Netduino (4.3.1.0) Resolving.

Link failure: some assembly references cannot be resolved!!

Assembly: GHI.OSHW.Hardware (4.2.6.1) needs assembly ‘mscorlib’ (4.2.0.0)

Assembly: GHI.OSHW.Hardware (4.2.6.1) needs assembly ‘Microsoft.SPOT.Hardware’ (4.2.0.0)

Assembly: GHI.OSHW.Hardware (4.2.6.1) needs assembly ‘Microsoft.SPOT.Native’ (4.2.0.0)

Assembly: GHI.Hardware.FEZCerb (4.2.6.1) needs assembly ‘mscorlib’ (4.2.0.0)

Assembly: GHI.OSHW.Native (4.2.6.1) needs assembly ‘mscorlib’ (4.2.0.0)[/quote]
Some of the references have changed names (there’s no more OSHW) but all the features are still available under 4.3.

Thanks Brett! I figured it out! I need to poke around in the libraries. My setup is working with the cerb!

Is there a way to use the Netduino libraries conditionally? I have found a way with #define, #if , #elif for the using statements and some pin declarations, but anyway to get the references to drop out upon compiling. I was switching between boards trying to isolate some hardware issues.

Shared source projects (new in Vs2013 update 3 or 4) is probably the cleanest option, but you can also edit the csproj file to create conditional references that work like ifdef in source code.