Hi everyone,
I’m encountering this compilation error when trying to publish my framework:
The assembly compilation returned the following errors:
* Value of type 'String()' cannot be converted to 'File'.
* Value of type 'String()' cannot be converted to 'File'.
* Value of type 'File' cannot be converted to 'String()'.

The issue is: I’m not sure where in my process this type mismatch is happening.
My project is quite large, and manually checking every argument, variable, and activity isn’t very efficient.
Before I dig through the entire workflow step by step…
Is there a way to precisely locate which XAML, activity, or argument is causing this compilation error?
Ideally, I’m hoping there’s:
- A log file that points to the specific XAML
- A setting that enables detailed compilation diagnostics
- Or any trick to instantly find which file contains the mismatched types
The error message doesn’t indicate where the problem occurs, so I’m wondering if there’s a method I’m not aware of.
Thanks in advance — would really appreciate any tips or best practices for tracing this!
— RetryScopeKid
