Issue

The following error may be encountered when opening XrmToolBox:

  • Failed to load the file or assembly “NuGet.Protocol, Version=6.4.0.123, Culture=neutral, PublicKeyToken=31bf3856ad364e35” or one of its dependencies. The system could not find the specified file.
  • Failed to load the file or assembly “NuGet.Versioning, Version=6.4.0.123, Culture=neutral, PublicKeyToken=31bf3856ad364e35” or one of its dependencies. The system could not find the specified file.
  • And so on and so forth with similar error …

Solution

The reason for this error is that there is a problem with one of the XrmToolBox plug-ins, which can be solved in this way:

(1) Open the installation directory of XrmToolBox plugin (if you don’t know the path, please refer to the following additional instructions).

(2) Close the running XrmToolBox.

(3) Delete the XrmToolBox plugin folder.

Tips

It is recommended to delete it directly, reinstalling the plugin won’t take long;

If you choose not to delete it directly, you can backup the plugin folder to a new folder and copy it back to the XrmToolBox plugin installation directory later.

(4) Open XrmToolBox and the plugin folder will be recreated

(5) Reinstall the plugin manually (as needed), or you can reinstall the tool directly in the XrmToolBox store!

Supplementary notes

Where is the plugin installation directory?

way 1 Look on the C drive

C:\Users\Your username\AppData\Roaming\MscrmTools\XrmToolBox\Plugins

way 2 XrmToolBox opens

  1. Click Configuration in the button bar -> select Setting.

  2. In the Setting panel, select Paths.

  3. Click Open XrmToolBox storage folder.