CUAHSI / HydroDesktop

HydroDesktop is a free and open source GIS enabled desktop application that helps you search for, download, visualize, and analyze hydrologic and climate data registered with the CUAHSI Hydrologic Information System. HydroDesktop is part of the legacy CUAHSI toolkit and is not under active development. Click the "releases" link below to download the latest installer for Microsoft Windows.
73 stars 20 forks source link

Unhandled Exception #85

Open xhqiao89 opened 6 years ago

xhqiao89 commented 6 years ago

twhitvine[CodePlex]
Version: 1.5.12.9 Description: In Extension Manager, in Installed Extensions tab, clicked Data Providers. Exception thrown immediately. Error: System.ComponentModel.Composition.CompositionException: The composition produced a single composition error. The root cause is provided below. Review the CompositionException.Errors property for more detailed information.

1) Could not load file or assembly 'gdal_csharp, Version=1.0.4398.13657, Culture=neutral, PublicKeyToken=db5a52b08dc5b321' or one of its dependencies. The system cannot find the file specified.

Resulting in: The type initializer for 'DotSpatial.Data.Rasters.GdalExtension.GdalHelper' threw an exception.

Resulting in: An exception occurred while trying to create an instance of type 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Resulting in: Cannot activate part 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Element: DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DirectoryCatalog (Path=quotC:\Users\whiteatl\AppData\Roaming\HydroDesktop_1_5_12.exe\Extensions\Packages\DotSpatial.Data.Rasters.GdalExtension.1.0.1185\lib\net40-Clientquot)

Resulting in: Cannot get export 'DotSpatial.Data.IDataProvider (ContractName=quotDotSpatial.Data.IDataProviderquot)' from part 'DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider'.

Element: DotSpatial.Data.IDataProvider (ContractName=quotDotSpatial.Data.IDataProviderquot) --gt DotSpatial.Data.Rasters.GdalExtension.GdalRasterProvider --gt DirectoryCatalog (Path=quotC:\Users\whiteatl\AppData\Roaming\HydroDesktop_1_5_12.exe\Extensions\Packages\DotSpatial.Data.Rasters.GdalExtension.1.0.1185\lib\net40-Clientquot)

at System.ComponentModel.Composition.Hosting.CompositionServices.GetExportedValueFromComposedPart(ImportEngine engine, ComposablePart part, ExportDefinition definition)

at System.ComponentModel.Composition.Hosting.CatalogExportProvider.CatalogExport.GetExportedValueCore()

at System.ComponentModel.Composition.ExportServices.GetExportedValueFromLazy[T](Export export)

at System.ComponentModel.Composition.Hosting.ExportProvider.GetExportedValuesCore[T](String contractName)

at DotSpatial.Plugins.ExtensionManager.DataProviderCategory.ltGetItemsgtd__0.MoveNext()

at DotSpatial.Plugins.ExtensionManager.ExtensionManagerForm.ShowInstalledItemsBasedOnSelectedCategory()

at DotSpatial.Plugins.ExtensionManager.ExtensionManagerForm.uxCategoryList_SelectedIndexChanged(Object sender, EventArgs e)

at System.Windows.Forms.ListBox.WmReflectCommand(Messageamp m) at System.Windows.Forms.ListBox.WndProc(Messageamp m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)