We have gotten a handful of reports of an error after upgrading Codebook for Windows to version 5, released this morning. The error looks about like this:
Message:Failed to display current window.
Details:System.Windows.Markup.XamlParseException: Initialization of
'Zetetic.Strip.Windows.MainWindow' threw an exception. --->
Castle.MicroKernel.ComponentActivator.ComponentActivatorException:
ComponentActivator: could not instantiate
Zetetic.StripLib.Sync.CodebookCloud.OAuthClient --->
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.IO.FileNotFoundException:
Could not load file or assembly 'RestSharp, Version=108.0.2.0,
To fix this, please do the following:
Uninstall Codebook
On Windows 11
- Go to Start menu > Settings > Apps > Installed Apps
- Search for Codebook in the list
- Click the three-dot menu icon, and choose Uninstall
On Windows 10
- Go to Start menu > Settings > Apps
- Search for Codebook in the list
- Select Codebook in the search results list
- Click on the Uninstall button
Reinstall Codebook
Run the installer for the latest version again; you can download a fresh copy of the installer here:
https://www.zetetic.net/downloads/codebook/windows/CodebookSetup.msi
Your Codebook data is stored separately from the application. Uninstalling Codebook will not delete your data.