This is another problem that I had ever since I use EMX.
Sometimes deployment doesn’t start and I get "An error has occured: please check your hardware"
Object reference not set to an instance of an object.
at Microsoft.SPOT.Debugger.VsProjectFlavorCfg.Deploy() in c:\depot\current\CLIENT_V4_2\Framework\CorDebug\VsProjectFlavorCfg.cs:line 893
at Microsoft.SPOT.Debugger.VsProjectFlavorCfg.<Microsoft.VisualStudio.Shell.Interop.IVsDeployableProjectCfg.StartDeploy>b__0() in c:\depot\current\CLIENT_V4_2\Framework\CorDebug\VsProjectFlavorCfg.cs:line 634
After that no matter what I do, I can’t deploy and I get this message.
The only solution is to create a new project and copy all data. This is very annoying, so to avoid that
I keep a zipped version of a project just in case this one bombs. I’ve seen on this forum that others have
also experienced this problem and there is no solution for it. Somehow project gets corrupted ?