I’m testing the code that I posted here:
[url]http://code.tinyclr.com/project/411/glide-buttons-and-gadgeteer-demo/[/url]
ported to Hydra running the new SDK and firmware.
When I run the project, the Glide “Loading” screen comes up, but when I hit this line:
window = GlideLoader.LoadWindow(Resources.GetString(Resources.StringResources.Window1));
I get the following Exception:
[quote]
#### Exception System.NotSupportedException - CLR_E_NOT_SUPPORTED (1) ####
#### Message:
#### System.Xml.XmlReader::Create [IP: 00c7] ####
#### GHIElectronics.NETMF.Glide.GlideLoader::LoadWindow [IP: 001e] ####
#### GHIElectronics.NETMF.Glide.GlideLoader::LoadWindow [IP: 000b] ####
#### GlideButtonDemo.Program::ProgramStarted [IP: 0017] ####
#### GlideButtonDemo.Program::Main [IP: 0015] ####
A first chance exception of type ‘System.NotSupportedException’ occurred in System.Xml.dll
An unhandled exception of type ‘System.NotSupportedException’ occurred in System.Xml.dll[/quote]
Any reason that this should not work on Hydra the same as on Spider? The only thing I changed was swapping out the boards in the designer, and reconnecting the sockets.
I also tried removing all GHI, Gadgeteer, and SPOT references and adding them back to make sure I had the latest versions, but no luck.
Any suggestions are welcome.