web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Cannot update plugins in D365 v9 Online

(1) ShareShare
ReportReport
Posted on by 352

Hi, yesterday in one of our customers with v9 online, any attempt to update a plugin produces the following message:

Currently, Microsoft Dynamics 365 requires the .NET Framework version 4.6.2 for plug-in assemblies. Rebuild the assembly with the .NET Framework version 4.6.2 and try again.


I am pretty sure we are building the plug-ins using version 4.6.2 (with VS 2015), and we are using SDK libraries obtained from NuGet, but D365 still shows the same error. As usual, I would appreciate your guidance and advise.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Excellent point - I wasn't using the v9 registration tool. Will try tonight.

  • Suggested answer
    Red Hodgerson Profile Picture
    on at

    There are a couple of things causing confusion here.

    1.  The last few versions of Dynamics 365 require .NET version 4.5.2 for plugins as outlined at docs.microsoft.com/.../write-plugin

    2.  Dynamics 365 v9 recently started strictly enforcing this requirement when it didn't before.

    3.  There is a product defect in the error message thrown, where the current .NET version of the assembly is shown instead of "4.5.2".

    If you're absolutely sure that you're building against 4.5.2 and still seeing this error, there is something else going on.  But, the majority of these posts should fall in to the above category.

    Bottom line:  You must use .NET 4.5.2.

  • Community Member Profile Picture
    on at

    I did try to change the build to 4.5.2 even tried 4.6.2 and 4.7.1 But I still get this error-

    This plugin assembly uses version XXX, Version=1.0.0.0, Culture=neutral, PublicKeyToken=XXX of the .NET Framework. At this time Microsoft Dynamics 365 requires version XXXX of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version XXXX and try again.

    This plugin was working fine before. I am just trying to update some content in the plugin.

  • Community Member Profile Picture
    on at

    pskamble1
    You would need to provide a bit more information in order for anyone to help you. A common solution has been to switch to .NET 4.5.2.

  • Community Member Profile Picture
    on at

    I keep getting the same error. None of the builds is working for me. Any suggestions?

  • billiardguy Profile Picture
    70 on at

    We were using .NET Framework 4.7.1 for the target framework for plug-ins last week.  We are using Dynamics 365 V 9.0 online.  The plug-in registered fine.  This morning it stopped working.   We were getting this error:

    "...This plugin assembly uses version xxxxxxxxxxxxx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=xxxxxxxxxxxx of the .NET Framework. At this time Microsoft Dynamics 365 requires version 4.7.1 of the .NET Framework for plugin assemblies. Rebuild this assembly using .NET Framework version 4.7.1 and try again...."

    We switched to 4.5.2 and it works.  Tried 4.6.1 and 4.7.1 again and get the same error.

  • Lovita Miranda Profile Picture
    20 on at

    Changing .NET framework to 4.5.2 worked for me as well

  • Suggested answer
    Biplab Singha Profile Picture
    on at

    The issue is misleading and inconsistent. In My organisation the below things Happened

    1. If Plugin assembly and workflow assembly both are in 4.6.2, it fails

    2. If Plug in is in 4.52 and workflow is 4.6.2 things works fine

    For a temporary fix change the version to 4.5.2 it should work as it worked for me

  • ashlega Profile Picture
    34,477 on at

    Have a look at your assembly in JustDecompile (from Telerik) or some other tool - make sure it's actually targetting 4.5.2 when you are looking at it that way

  • Serhii Pavlyk Profile Picture
    5 on at

    I have the same issue.

    4.5.2 doesn't work and 4.6.1 or 4.6.2 I can't register\update.

    Week ago I've successfully updated 4.6.2. But for now I can't do the same as before.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Shidin Haridas Profile Picture

Shidin Haridas 2

#2
Abdullah13 Profile Picture

Abdullah13 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans