DesktopFlowDependencyFixer 1.0.3

dotnet add package DesktopFlowDependencyFixer --version 1.0.3
                    
NuGet\Install-Package DesktopFlowDependencyFixer -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DesktopFlowDependencyFixer" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DesktopFlowDependencyFixer" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="DesktopFlowDependencyFixer" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DesktopFlowDependencyFixer --version 1.0.3
                    
#r "nuget: DesktopFlowDependencyFixer, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DesktopFlowDependencyFixer@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DesktopFlowDependencyFixer&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=DesktopFlowDependencyFixer&version=1.0.3
                    
Install as a Cake Tool

Desktop Flow Dependency Fixer for XrmToolBox

XrmToolBox NuGet

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:

  1. The "Base Layer" Conflict: You are trying to delete a managed solution in Prod, but a desktopflowbinary component is missing from the base layer in Dev, blocking the uninstall.
  2. 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 AddSolutionComponent API.
  • 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

  1. Open XrmToolBox.
  2. Open the Tool Library.
  3. Search for "Desktop Flow Dependency Fixer".
  4. 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.

  1. 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).
  2. Open the Tool:
    • Connect to your Development environment.
  3. 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.
  4. Execute:
    • Click Move Component to Solution.
  5. 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 Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 420 1/14/2026
1.0.2 266 12/19/2025
1.0.1 296 12/17/2025
1.0.0 283 12/15/2025

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