Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Cannot update plugins in D365 v9 Online

(1) ShareShare
ReportReport
Posted on by 350

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cannot update plugins in D365 v9 Online

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

  • Suggested answer
    RE: Cannot update plugins in D365 v9 Online

    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
    Community Member Microsoft Employee on at
    RE: Cannot update plugins in D365 v9 Online

    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
    Community Member Microsoft Employee on at
    RE: Cannot update plugins in D365 v9 Online

    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
    Community Member Microsoft Employee on at
    RE: Cannot update plugins in D365 v9 Online

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

  • billiardguy Profile Picture
    billiardguy 70 on at
    RE: Cannot update plugins in D365 v9 Online

    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
    Lovita Miranda 20 on at
    RE: Cannot update plugins in D365 v9 Online

    Changing .NET framework to 4.5.2 worked for me as well

  • Suggested answer
    RE: Cannot update plugins in D365 v9 Online

    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
    ashlega 34,477 on at
    RE: Cannot update plugins in D365 v9 Online

    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
    Serhii Pavlyk 5 on at
    RE: Cannot update plugins in D365 v9 Online

    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

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,162 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans