private void InitializeComponent() { this.components = new System.ComponentModel.Container(); ESRI.ArcGIS.Mobile.MetricUnitLabels metricUnitLabels1 = new ESRI.ArcGIS.Mobile.MetricUnitLabels(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMap)); this.p_Map = new ESRI.ArcGIS.Mobile.Map(); this.sketchGraphicLayer = new ESRI.ArcGIS.Mobile.Sketch.SketchGraphicLayer(); this.p_ScaleBar = new ESRI.ArcGIS.Mobile.ScaleBar(this.components); //<--- Error this.p_ToolStrip = new System.Windows.Forms.ToolStrip(); ... }
System.TypeInitializationException: Der Typeninitialisierer für "ESRI.ArcGIS.Mobile.SpatialReferences.ProjectionCoreApi" hat eine Aussnahme verursacht. ---> System.InvalidOperationException: Missing ArcGIS registry key. bei ESRI.ArcGIS.Mobile.Native.WindowsApi.LoadCore(String dllName) --- Ende der internen Ausnahmestapelüberwachung ---ESRI.ArcGIS.Mobile.SpatialReferences.ProjectionCoreApi.CreatUnit(String unitName, Double factor) bei ESRI.ArcGIS.Mobile.SpatialReferences.Unit..ctor(UnitTypes type) bei ESRI.ArcGIS.Mobile.SpatialReferences.Unit.UnitCollection..ctor() bei ESRI.ArcGIS.Mobile.SpatialReferences.Unit.get_Units() bei ESRI.ArcGIS.Mobile.ScaleBar..ctor() bei ESRI.ArcGIS.Mobile.ScaleBar..ctor(IContainer container) bei MyProject.InitializeComponent()
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.