I have a problem when using such a simple code like this:
PersistentStorage SDCard = new PersistentStorage(“SD”);
When I built the code to deploy into my Fez Panda II, it thrown me an error of :
“The type ‘GHIElectronics.NETMF.USBHost.USBH_Device’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘GHIElectronics.NETMF.System, Version=4.1.8.0, Culture=neutral, PublicKeyToken=null’. c:\Documents and Settings.…\visual studio 2010\Projects\MFConsoleApplication2\MFConsoleApplication2\Program.cs”
I looked into the library and saw that there was three constructors for “PersistentStorage”.
One is “public PersistentStorage(GHIElectronics.NETMF.USBHost.USBH_Device usbDevice);”,
one is “public PersistentStorage(string DeviceID);”,
and the other one is “public PersistentStorage(GHIElectronics.NETMF.USBHost.USBH_Device usbDevice, byte massStorageLogicalUnit);”
However, in my library of “GHIElectronics.NETMF.USBHost” there was not a definition of class “USBH_Device”. But when I look on the GHI Electronics NETMF Library on the web site, there was. I downloaded the GHI NETMF v4.1from the support web page: Support – GHI Electronics.
I am looking for a solution for this problem. Any helps are appreciated. Thank you in advance!