‘An assembly specified in the application dependencies manifest was not found’

When running an application that uses JNBridgePro for .NET Core, or when running one of the JNBridgePro tools for .NET Core (such as the registration tool, the proxy generation tool, or JNBDotNetSide), you get an error “An assembly specified in the application dependencies manifest was not found.” Typically, the package that is not found is Microsoft.Extensions.Configuration.Abstractions, but it may be something else.

The assembly jnbshare.dll that comes with JNBridgePro for .NET Core requires the following NuGet packages, in order to process the JNBridgePro configuration file:

  • Microsoft.Extensions.Configuration.Abstractions
  • Microsoft.Extensions.Configuration.Binder
  • Microsoft.Extensions.Configuration.Json
  • Newtonsoft.Json

To avoid this error, use the NuGet Package Manager that comes with Visual Studio to add the above packages to your application’s project.

If you see this error when running one of the JNBridgePro tools for .NET Core, add the DLLs from the above packages to the folder containing the .NET Core tools. You can obtain the DLLs by downloading the packages using the NuGet Package Manager, or by copying them from an existing project. In addition, as a convenience you can download the DLLs here; if you do so, we make no guarantees, however, that you will be using the most up-to-date versions of the DLLs.

In version 10.0, we supplied copies of the DLLs for these packages. However, we decided to not do this in 10.1 since these packages would most likely be updated and the user could obtain the most up-to-date packages through NuGet.

See this knowledge base post for instructions on how to obtain the required NuGet packages.