Cannot publish library with flowchart activity used

I am getting an error when publishing a UiPath library when there is a Flowchart activity used. May I know how to resolve this issue?

  • UiPath Studio version: 2020.10.8

  • How to reproduce:

    1. Create new library
    2. Add a flowchart activity
    3. Publish library
  • Error:
    System.AggregateException: One or more errors occurred. —> UiPath.ActivityCompiler.Exceptions.UiPathLocalizedException: Unable to create activity builder for document. Reason was ‘Cannot create unknown type ‘{http://schemas.microsoft.com/winfx/2006/xaml/presentation}Point’.’. —> System.Xaml.XamlObjectWriterException: Cannot create unknown type ‘{http://schemas.microsoft.com/winfx/2006/xaml/presentation}Point’.

  • Others:
    Tried to uncheck “Compile activities expressions” on publish options and it was able to publish but after adding another activity after Flowchart “Start” (even just a Write Message), got the error again.

Hey @kaydine.santuyo have you tried upgrading the package and try?

Hi @rahulsharma . Which package? It says Flowchart activity is included in “Default Activities” so I don’t think I can do something to upgrade that.

Hi @kaydine.santuyo

Could you please share the zip of the sample library project?

Hi @kaydine.santuyo I’ve looked into this issue on both Studio 2020.10.15 (which is the latest patch version as of today for 20.10 release) and in Studio 2022.10.3 (which is the latest released version of Studio, as of today) and I could not reproduce the issue. Could you, please, share the library that caused this behavior? Thank you