The Content Grabber API is a 32-bit library and since the library will be embedded into your application, your application also needs to be a 32-bit application. To make sure your application is a 32-bit application, go to project properties in Visual Studio and set the platform target to x86.
The Content Grabber API uses the .NET v4.5 framework, so your application should be configured to use the same or a higher version of the .NET framework. To set the .NET framework version in Visual Studio, go to project properties in Visual Studio and set the target framework to .NET v4.5 or higher.
You must add the following references to your project to use the The Content Grabber API:
Once you add these assemblies to your project references, Visual Studio will automatically copy these files and some dependent assemblies to your project's BIN folder. However, not all required assemblies will be copied to your BIN folder, so you must manually ensure all the Content Grabber runtime files are in your BIN folder.
The Content Grabber runtime files can be generated in the Content Grabber application by choosing Runtime Package in the Application menu. This will generate a zip file with all required files and folders. All these files and folders must be copied to your BIN folder.