Also, note that the DLL has "Projection" mis-spelled...
I had references to the two DLLs (DesktopEdition and MapSuiteCore), both marked as Copy Local = true
When I took the executable and associated DLLs and gave them to a user to run, they got the following error:
System.IO.FileNotFoundException: Could not find ProjectonExtensionX86.dll assembly.
at ThinkGeo.MapSuite.Core.Proj4Projection.OpenCore()
at ThinkGeo.MapSuite.Core.Projection.Open()
at ThinkGeo.MapSuite.DesktopEdition.GoogleMapsOverlay..ctor(String licenseKey, String cacheDirectory)
at GoogleMaps.GoogleMapForm.GoogleMapForm_Load(Object sender, EventArgs e)
After copying "C:\WINDOWS\system32\Proj4ExtensionX86.dll" to the directory, I get this error:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: Unable to load DLL 'MapSuiteProjectionX86.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at Proj4Extension.Proj4Extensionx86.pj_init(Int32 argc, String[] args)
at Proj4Extension.Proj4Extensionx86.Init(Int32 argc, String[] args)
So I copy "C:\WINDOWS\system32\MapSuiteProjectionX86.dll" to the directory, and it finally runs.
Shouldn't these be included automatically?
Thanks.
Charley.