I get this exception on one computer.
There are no debug messages bit the code works. I can set break points and see the variables.
The same code works(debug messages are ok) from another computer.
I tried reinstalling GHI SDK with same result
‘Microsoft.SPOT.Debugger.CorDebug.dll’ (Managed): Loaded 'C:\Program Files (x86)\GHI Electronics\GHI NETMF v4.1 SDK\Assemblies\le\GHIElectronics.NETMF.Hardware.ChipworkX.dll’
The thread ‘’ (0x2) has exited with code 0 (0x0).
A first chance exception of type ‘System.InvalidOperationException’ occurred in GHIElectronics.NETMF.Hardware.dll