Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Solution can't be imported because of missing dependency (Custom Workflow Assembly)

Posted on by 5

I have an issue with a solution being deployed because of a dependency. Note this is a Power Platform solution that has been created in utilising the CDS and Modal Driven Apps.

The dependency is a Custom Workflow Assembly that can be found here: https://github.com/binnall/AdvancedMath

My scenario is the following:

Two environments 'Development' & 'Integration'. These environments are in the same O365 tenant.

I used the plugin registration tool to deploy the DLL into the Development environment, create an instant workflow to get the results based on the inputs for control.

This all works perfect. I pass in the figures and get the values as I would expect.

I then use the plugin registration tool to deploy the DLL into the Integration environment. Again this works as expected.

However, I have been using Azure DevOps to deploy my Solution into the different environments. And when trying to deploy the solution with the custom assembly as part of one of my instant Workflow Processes as part of the solution a dependency error occurs.

The error that I receive is: The following solution cannot be imported: [[SolutionName]] . Some dependencies are missing. The missing dependencies are .... (Custom Assembly Namespace)

Does anybody know why I can't deploy the solution into the environment when I have an instant process that uses the Workflow DLL?

  • removing the workflow that uses this DLL enables the solution to deploy as expected.

I'm not sure If I am missing a particular way of registering the DLL into each of the environments so that it is referenced in the same way?

  • Abigail Profile Picture
    Abigail 550 on at
    RE: Solution can't be imported because of missing dependency (Custom Workflow Assembly)

    You need to add the dependencies mentioned in the error message to get the solution running in the Integration environment.

    That would solve your problem.

  • Suggested answer
    RE: Solution can't be imported because of missing dependency (Custom Workflow Assembly)

    Hello binnal,

    If I understood your situation correctly, then you are importing a managed solution with dependencies to a Custom Workflow Assembly, but the Assembly has already been registered on the target with PRT.

    This is expected, as when you import a managed solution, the dependency calculator will search for the dependencies on a managed layer. However, your Assembly is registered on the active layer as unmanaged, since you used PRT.

    I would advise you here to try and unregister the Assembly from the Integration environment, and add it to your solution instead, so it moves alongside the dependent process.

    Hope this helps.

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 21,009 Super User 2024 Season 2 on at
    RE: Solution can't be imported because of missing dependency (Custom Workflow Assembly)

    Hi binnall,

    You need to include the missing dependencies in the solution you are deploying or remove the dependency associations from components in the solution before deployment.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans