Loader Exception on Bootstrapping (Cop.Intercept()): System.Runtime.Loader v4.0.0.0

Issue #15 new
polychlorobenzene created an issue

We have a MVC application with multiple projects (UI, stand-alone Web API, Business, Data Access layers), and I would like to Intercept the controller methods on the Web API project. I created a simplified sample app on the same development machine that uses the same interceptor and it worked fine, but when I try to add the interceptor to the production application it fails on Bootstrap with a LoaderException that it can't find System.Runtime.Loader v 4.0.0.0. The Web API is targeting .NET 4.6.1, not Core, so we cannot reference that dll.

I am using the free version as we are just trying to set up a proof of concept. If it works on our production app this would be a tool that we would implement on multiple client sites as this is a very exciting product.

Comments (0)

  1. Log in to comment