Hi,
I believe this is a dependency issue, so may not be WPF specific...The computer that I am trying to deploy on has no ESRI products installed. It is an application for our guys in the field with little network connectivity, and thus no access to our GIS server. I am thinking that I am missing an install or .dll somewhere, so even if you have no experience with WPF specifically, you may still be able to take a stab at this!
I have a WPF application that I am trying to deploy. It is using mobile mapcache for the map. The map works fine on my computer, but when I try to deploy it to another computer I receive an error.
In order to troubleshoot, I have loaded visual studio and the project onto the computer in question. In visual studio, when looking at the control, I get an error that it cannot create it...specifically: "Cannot create an instance of "Map".". The "Map" that it is referring to is an instance of the map control created with ESRI.ArcGIS.Mobile.WPF (a member of the ESRI.ArcGIS.Mobile assembly). Intellisense works, so it seems as if it is there. No errors that it cannot find the reference.
If I publish the project, or run it from the deployment package, the error that is returned in the browser says "Initialization of 'ESRI.ArcGIS.Mobile.WPF.Map' threw an exception", specifically "XamlParseException" was unhandled.
and "Missing ArcGIS registry key" is also mentioned
I have seen some blogs about "Missing ArcGIS registry key" being related to the cpu platform not being set properly...I have tested this by creating the app as a stand-alone WPF app and setting the CPU to 86x...same problem.
Any ideas?