On my first Glide project I receive this error during compile in debug mode.
An unhandled exception of type ‘System.Xml.XmlException’ occurred in System.Xml.dll.
This seems to be the line of code in question:
static Window[] windows = new Window[3];
windows[0] = GlideLoader.LoadWindow(Resources.GetString(Resources.StringResources.Window2 ));
I have the following libraries added in my Program.cs file
using System;
using System.Collections;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Presentation;
using Microsoft.SPOT.Presentation.Controls;
using Microsoft.SPOT.Presentation.Media;
using Microsoft.SPOT.Touch;
using Gadgeteer.Networking;
using GT = Gadgeteer;
using GTM = Gadgeteer.Modules;
using Gadgeteer.Modules.GHIElectronics;
using GHIElectronics.NETMF.Glide;
using GHIElectronics.NETMF.Glide.Display ;
using GHIElectronics.NETMF .Glide.UI ;
After downloading the Glide files I started a Glide directory under Program Files and recompiked to NETMF 4.2.
In my Gadgeteer project I have added a link in the resources to the Glide.dll file in bin\release directory.