At this time Microsoft Dynamics 365 requires version 4.6.2 of the .NET Framework for plugin assemblies.

Today I tried to import a solution from Dev environment to QA and I found Solution import failed. The error is “At this time Microsoft Dynamics 365 requires version 4.6.2 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.6.2 and try again.”

Over Checking the assembly, I found that my Plug-in assembly is in .NET framework version 4.6.2. So, the error is a bit misleading. I am working in this project for three months and  .NET framework version we are using is always 4.6.2. This issue is happening only after 10th may 2018 before this it use to work fine.

Resolution

I have downgraded the .NET framework to 4.5.2 only for Plug in and rebuilt the solution and upgraded the assembly in Dev Environment. After that I exported and imported the solution from Dev to QA. This time it worked without any issue.

Root cause of this issue could be some inconsistency in patch deployment in Dynamics instance. The error seems to be misleading also.

Conclusion

So, until we get new version we need to keep on using .NET framework version 4.5.2 for plug in and workflow development in Dynamics 365(v 9.x).

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s