Hello UiPath Community,
I’m encountering a persistent validation error in my project and I’m hoping someone can provide some guidance. The error is a dependency conflict related to System.Drawing.Common.
The Error:
When I try to run my workflow, I get the following validation error:
Text
RuleName: Validation Error Code: ERROR Description: No compiled code to run error BC32207: The project currently contains references to more than one version of ‘System.Drawing.Common’, a direct reference to version 8.0.0.0 and an indirect reference to version 9.0.0.0. Change the direct reference to use version 9.0.0.0 (or higher) of System.Drawing.Common. File: Main.xaml
Project Context:
My project uses the ZXing.Net and ZXing.Net.Bindings.Windows.Compatibility packages to decode QR codes from image files within an Invoke Code activity. The error started appearing after adding these packages.
Troubleshooting Steps I’ve Already Taken:
I have already tried several steps to resolve this, without success:
- Updating
System.Drawing.Common:
I tried updating the
System.Drawing.Common
package directly to version 9.0.0.0 as suggested by the error message.
- Updating ZXing Packages:
I updated both
ZXing.Net
and
ZXing.Net.Bindings.Windows.Compatibility
to their latest available versions.
- Downgrading
System.Drawing.Common:
I also tried downgrading
System.Drawing.Common
to version 8.0.0.0 to see if aligning with the older version would help.
Unfortunately, the error persists after each of these attempts. It seems there is a stubborn conflict that I can’t resolve through the standard package management options.
Could anyone suggest a different approach to resolve this version conflict? Any help would be greatly appreciated!
Thank you!