web
You’re offline. This is a read only version of the page.
close
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 59

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

I have the same question (0)
  • Suggested answer
    Rawish Kumar Profile Picture
    13,758 on at

    community.dynamics.com/.../271807  

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    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.

  • Michael.Matsiy Profile Picture
    59 on at

    And is it possible to remove any of the steps ?

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    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

  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at

    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.

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

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
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans