Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Unanswered

.NET Framework Update 4.5 to 4.6.1 for GP 2018

Posted on by 5

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?

Categories:
  • jonpeard2020 Profile Picture
    jonpeard2020 5 on at
    RE: .NET Framework Update 4.5 to 4.6.1 for GP 2018

    This is for a standalone project. The project is a class library needs to be able to target either 32 or 64 bit assemblies, since it will be imported into other projects. For that reason I'm using a dynamic assembly loader to select which dlls to load into the assembly based on the current platform's pointer size.

  • bgajjar Profile Picture
    bgajjar 150 on at
    RE: .NET Framework Update 4.5 to 4.6.1 for GP 2018

    I guess, there may be mismatch between 32-bit and 64-bit assemblies, make sure you select correct eConnect assembly 32/64 bit. Is it a GP AddIn project, or standalone ?

    -Bharat

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans