Fatal Error
- Dominant language
- C#
- Stars
- 76
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
jpollak[CodePlex]
Version: 1.6.8.3
Description:
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 'DotSpatial.Plugins.ExtensionManager, Version=0.11.9.8, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Resulting in: An exception occurred while trying to create an instance of type 'HydroDesktop.DownloadExtensions.ExtensionDownloader'.
Resulting in: Cannot activate part 'HydroDesktop.DownloadExtensions.ExtensionDownloader'.
Element: HydroDesktop.DownloadExtensions.ExtensionDownloader --gt HydroDesktop.DownloadExtensions.ExtensionDownloader --gt DirectoryCatalog (Path=quotC:\Program Files\CUAHSI HIS\HydroDesktop 1.6.8\Application Extensionsquot)
Resulting in: Cannot get export 'DotSpatial.Extensions.ISatisfyImportsExtension (ContractName=quotDotSpatial.Extensions.ISatisfyImportsExtensionquot)' from part 'HydroDesktop.DownloadExtensions.ExtensionDownloader'.
Element: DotSpatial.Extensions.ISatisfyImportsExtension (ContractName=quotDotSpatial.Extensions.ISatisfyImportsExtensionquot) --gt HydroDesktop.DownloadExtensions.ExtensionDownloader --gt DirectoryCatalog (Path=quotC:\Program Files\CUAHSI HIS\HydroDesktop
1.6.8\Application Extensionsquot)
Resulting in: Cannot set import 'DotSpatial.Controls.AppManager.SatisfyImportsExtensions (ContractName=quotDotSpatial.Extensions.ISatisfyImportsExtensionquot)' on part 'DotSpatial.Controls.AppManager'.
Element: DotSpatial.Controls.AppManager.SatisfyImportsExtensions (ContractName=quotDotSpatial.Extensions.ISatisfyImportsExtensionquot) --gt DotSpatial.Controls.AppManager
at System.ComponentModel.Composition.CompositionResult.ThrowOnErrors(AtomicComposition atomicComposition)
at System.ComponentModel.Composition.Hosting.ComposablePartExportProvider.Compose(CompositionBatch batch)
at DotSpatial.Controls.AppManager.LoadExtensions()
at HydroDesktop.MainApplication.MainForm..ctor()
at HydroDesktop.MainApplication.Program.Main(String[] args)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the startup failure and reading DotSpatial.Controls.AppManager.LoadExtensions, then follow the stack trace through HydroDesktop.MainApplication.MainForm and Program.Main. Check the Application Extensions directory for the missing DotSpatial.Plugins.ExtensionManager assembly or dependency. Done means the application starts without this CompositionException and the extension-loading path is covered by the relevant validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100