Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Managed Solution updating

(0) ShareShare
ReportReport
Posted on by 55

Hi all!

I've made refactoring for my plugin assembly in my solution. I've created a base plugin and merged some classes into one with a different name, so now it's totally changed assembly with the same name and Id.

The current task is to update my managed solution into the production environment with these changes. 

I need to remove old plugins/steps/images, but even if I try to update the solution with disabled steps it throws me an error like "Plug-in assembly does not contain the required types or assembly content cannot be updated."

I've tried to choose Override option while importing and also I've tried an approach with the Holding solution, but still no luck. 

Dynamics CRM v.8.2

Do you have any ideas related to this case?

*This post is locked for comments

  • Suggested answer
    gdas Profile Picture
    gdas 50,089 Moderator on at
    RE: Managed Solution updating

    As you have managed solution so you have to delete all the steps and the plugins  as suggested above  . Once you delete all the steps and plugins assembly  you can easily register your updated plugins and only you have to  recreate steps again.

    Its better to keep screenshot of the old steps to recreate freshly with the updated plugins .

    Good Luck.

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: Managed Solution updating

    Hi

    open the solution which contains the plugin steps and messages and find the steps under sdk message processing steps, select and delete one by one (make sure you have backup before deleting)

    After that go to Plugin Assemblies to delete the plugin

    Screenshot-2019_2D00_04_2D00_22-at-4.56.52-PM.png

  • Michael.Matsiy Profile Picture
    Michael.Matsiy 55 on at
    RE: Managed Solution updating

    And is it possible to remove any of the steps ?

  • Suggested answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: Managed Solution updating

    Hi,

    We cannot override plugin assembly and steps when there are mismatches in dll & snk files.

    suggest you to delete the all old reference from the target CRM(where you are trying to instal)and then install your new solution with updates assembly and messages.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Managed Solution updating

    community.dynamics.com/.../271807  

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans