DesktopFlowDependencyFixer 1.0.3
dotnet add package DesktopFlowDependencyFixer --version 1.0.3
NuGet\Install-Package DesktopFlowDependencyFixer -Version 1.0.3
<PackageReference Include="DesktopFlowDependencyFixer" Version="1.0.3" />
<PackageVersion Include="DesktopFlowDependencyFixer" Version="1.0.3" />
<PackageReference Include="DesktopFlowDependencyFixer" />
paket add DesktopFlowDependencyFixer --version 1.0.3
#r "nuget: DesktopFlowDependencyFixer, 1.0.3"
#:package DesktopFlowDependencyFixer@1.0.3
#addin nuget:?package=DesktopFlowDependencyFixer&version=1.0.3
#tool nuget:?package=DesktopFlowDependencyFixer&version=1.0.3
Desktop Flow Dependency Fixer for XrmToolBox
A specialized utility to resolve "Missing Dependency" errors for Desktop Flows (Power Automate Desktop) during solution deployments.
The Problem
When deploying solutions containing Desktop Flows (RPA) from Development to Production, you may encounter a "Missing Dependency" error regarding a desktopflowbinary component.
This often happens in two scenarios:
- The "Base Layer" Conflict: You are trying to delete a managed solution in Prod, but a
desktopflowbinarycomponent is missing from the base layer in Dev, blocking the uninstall. - Accidental Deletion: A UI element screenshot or binary component was deleted in Dev but still exists in Prod, creating a layering conflict.
This tool fixes these issues by programmatically injecting the missing component into your target unmanaged solution in Development, allowing you to export a valid update.
Features
- Targeted Injection: Adds specific components (by GUID) to an unmanaged solution using the Dataverse
AddSolutionComponentAPI. - Component Type Selector: Supports only
desktopflowbinary(UI Screenshots/Images). - Dynamic Metadata: Automatically detects the correct Object Type Codes for your environment to prevent integer ID errors.
- Safety Checks: Validates GUIDs and Solution existence before execution.
📦 Installation
- Open XrmToolBox.
- Open the Tool Library.
- Search for "Desktop Flow Dependency Fixer".
- Click Install.
How to Use
Scenario: Fixing a Missing Base Layer
Goal: You need to add a missing binary component to your unmanaged solution in Dev so you can deploy an update.
- Get the Component ID:
- In your target environment (e.g., Prod) or via error logs, find the GUID of the missing component (e.g.,
d5362aa0-9661-4c73-afda-e54a791834eb).
- In your target environment (e.g., Prod) or via error logs, find the GUID of the missing component (e.g.,
- Open the Tool:
- Connect to your Development environment.
- Configure:
- Component ID: Paste the GUID.
- Component Type: Select "Desktop Flow Binary" (or Process if the Flow itself is missing).
- Target Solution: Select the unmanaged solution you plan to export.
- Execute:
- Click Move Component to Solution.
- Finish:
- Open your solution in the Power Apps Maker Portal. Verify the component is now present.
- Export as Managed and deploy to Production to resolve the dependency error.
⚠️ Requirements
- XrmToolBox: Latest version recommended.
- Permissions: System Customizer or System Administrator role in the Dataverse environment.
🤝 Contributing
Contributions are welcome! Please submit a Pull Request or open an Issue if you encounter edge cases with specific environment configurations.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Author: Oluwafemi Tosin Ajigbayi
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net48 is compatible. net481 was computed. |
-
- XrmToolBox (>= 1.2023.10.67)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial Release.
- Component Type selection (Binary by default).
- Dynamic environment metadata loading.
- Improved UI with SplitContainer layout.
- Added Help, instructions and a tooltip that explains where to find the Component GUID