in the designer, can you remove the mountaineer mainboard and add a different mainboard (say the GHI Spider)? Does the generated code then “look right” in the code window?
To use the GHI modules, you need to have installed the GHI SDK. That’s the only way to have that available under Visual Studio. So here’ what I would suggest (I haven’t done this, just suggesting you progress it this way).
First, assuming Visual Studio 2010 and a clean install (ie uninstall all the existing SDKs), install the Microsoft QFE2 package, as documented at http://www.ghielectronics.com/support/.net-micro-framework
Then install the Mountaineer 4.2 SDK from http://www.mountaineer.org/resources/
At this point, see if you can create a new app and see what the program.generated.cs shows, in particular whether the mainboard definition is added, and if it’s correct. Tell us what that shows, then quit VS (no need to save the app)
Then install the GHI 4.2 SDK from the GHI support page.
After that, re-do the test and see if the behaviour is different, and again tell us the result.