0

Внезапно программа стала вываливаться на старте с ошибкой

Алексей Карпов 10 ай бұрын жаңартылды 10 ай бұрын 1

Ошибка такая:

The composition produced a single composition error, with 2 root causes. The root causes are provided below. Review the CompositionException.Errors property for more detailed information.

1) Could not finishing composing object of type 'Fb2Library.Services.JumpListManager'. The import '
ContractName Fb2Library.Config.IConfigManager
RequiredTypeIdentity Fb2Library.Config.IConfigManager' was not satisfied.

Resulting in: Cannot get export 'Fb2Library.Services.JumpListManager (ContractName="Fb2Library.Services.JumpListManager")' from part 'Fb2Library.Services.JumpListManager'.
Element: Fb2Library.Services.JumpListManager (ContractName="Fb2Library.Services.JumpListManager") --> Fb2Library.Services.JumpListManager --> AssemblyCatalog (Assembly="Fb2Library, Version=1.5.11.1585, Culture=neutral, PublicKeyToken=null")

Resulting in: Cannot set import 'Fb2Library.MainWindow.JumpListManager (ContractName="Fb2Library.Services.JumpListManager")' on part 'Fb2Library.MainWindow'.
Element: Fb2Library.MainWindow.JumpListManager (ContractName="Fb2Library.Services.JumpListManager") --> Fb2Library.MainWindow --> AssemblyCatalog (Assembly="Fb2Library, Version=1.5.11.1585, Culture=neutral, PublicKeyToken=null")

Resulting in: Cannot get export 'Fb2Library.MainWindow (ContractName="MainWindow")' from part 'Fb2Library.MainWindow'.
Element: Fb2Library.MainWindow (ContractName="MainWindow") --> Fb2Library.MainWindow --> AssemblyCatalog (Assembly="Fb2Library, Version=1.5.11.1585, Culture=neutral, PublicKeyToken=null")

Resulting in: Cannot set import 'Fb2Library.App.MainWindow (ContractName="MainWindow")' on part 'Fb2Library.App'.
Element: Fb2Library.App.MainWindow (ContractName="MainWindow") --> Fb2Library.App

2) Could not finishing composing object of type 'Fb2Library.Services.JumpListManager'. The import '
ContractName Fb2Library.Services.ILocalizationManager
RequiredTypeIdentity Fb2Library.Services.ILocalizationManager' was not satisfied.

Resulting in: Cannot get export 'Fb2Library.Services.JumpListManager (ContractName="Fb2Library.Services.JumpListManager")' from part 'Fb2Library.Services.JumpListManager'.
Element: Fb2Library.Services.JumpListManager (ContractName="Fb2Library.Services.JumpListManager") --> Fb2Library.Services.JumpListManager --> AssemblyCatalog (Assembly="Fb2Library, Version=1.5.11.1585, Culture=neutral, PublicKeyToken=null")

Resulting in: Cannot set import 'Fb2Library.MainWindow.JumpListManager (ContractName="Fb2Library.Services.JumpListManager")' on part 'Fb2Library.MainWindow'.
Element: Fb2Library.MainWindow.JumpListManager (ContractName="Fb2Library.Services.JumpListManager") --> Fb2Library.MainWindow --> AssemblyCatalog (Assembly="Fb2Library, Version=1.5.11.1585, Culture=neutral, PublicKeyToken=null")

Resulting in: Cannot get export 'Fb2Library.MainWindow (ContractName="MainWindow")' from part 'Fb2Library.MainWindow'.
Element: Fb2Library.MainWindow (ContractName="MainWindow") --> Fb2Library.MainWindow --> AssemblyCatalog (Assembly="Fb2Library, Version=1.5.11.1585, Culture=neutral, PublicKeyToken=null")

Resulting in: Cannot set import 'Fb2Library.App.MainWindow (ContractName="MainWindow")' on part 'Fb2Library.App'.
Element: Fb2Library.App.MainWindow (ContractName="MainWindow") --> Fb2Library.App

Очистка каталога с настройками не помогла. 

Да. Версия 1.5.11

Внезапно ошибка починилась полной переустановкой программы и вычисткой рабочего каталога. Не знаю, что это было.