I have an existing project that uses Dynamics GP 2018 with eConnect that I need to update from .NET Framework 4.5 to 4.6.1. After performing the update, the project is returning a BadImageFormatException when attempting to load the Microsoft.Dynamics.GP.eConnect dll. I haven't changed anything other than the framework version. Is there some other dependency of eConnect that needs to be updated?