Could not parse file error encountered

Encountered this error while running file. Anyone knows the solution? Thanks in advance.
Error Could not parse file C:\Users\XXX\Desktop\ExcelFilters\ExcelFilters\Main.xaml. Reason: System.Xaml.XamlObjectWriterException: Cannot set unknown member ‘{}VisualBasic.Settings’.
at System.Xaml.XamlObjectWriter.WriteStartMember(XamlMember property)
at System.Xaml.XamlWriter.WriteNode(XamlReader reader)
at System.Xaml.XamlServices.Transform(XamlReader xamlReader, XamlWriter xamlWriter, Boolean closeWriter)
at System.Xaml.XamlServices.Load(XamlReader xamlReader)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(XamlReader xamlReader, ActivityXamlServicesSettings settings)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(XmlReader xmlReader, ActivityXamlServicesSettings settings)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(Stream stream, ActivityXamlServicesSettings settings)
at System.Activities.XamlIntegration.ActivityXamlServices.Load(Stream stream)
at UiPath.Studio.DataBaseServer.Services.Workflow.FileLoader.LoadFile(String fileName)


Try renaming/deleting the project.json and reopen the project


Hy @dirtygreen

  1. Check the namespaces in your XAML file to make sure that the unknown member is declared correctly.
  2. Make sure the required assembly references are included in the project.
  3. Try to update the .NET framework and UiPath Studio to the latest version.
  4. If the issue persists, try to recreate the XAML file or import the contents of the XAML file into a new file.

HI @dirtygreen

Welcome to Community!

Checkout this

Make a copy of your project to some other folder now come back to the actual folder and open the json and empty them and then open again the xaml file


hi @Sudharsan_Ka

Thanks, but I could not open xaml file after emptying the project.json file…also tried renaming/deleting project.json but did not work:(

Hi @Anil_G

Thanks for the advice but this did not work for me :frowning: