I’m trying to use Aspose.pdf with a Nancy webservice. However, as soon as I add the aspose nuget package to my project. The webservice fails to start with the following error:
Could not load file or assembly ‘Aspose.Foundation, Version=17.4.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. The system cannot find the file specified.
You can reproduce this by creating a new empty asp.net application. Adding the Nancy and nancy.hosting.aspnet and Nancy packages. Create a hello world endpoint. This will work fine. Then add the Aspose.pdf nuget package and run the app again.