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 ‘{http://schemas.microsoft.com/netfx/2009/xaml/activities}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)
Hy @dirtygreen
- Check the namespaces in your XAML file to make sure that the unknown member is declared correctly.
- Make sure the required assembly references are included in the project.
- Try to update the .NET framework and UiPath Studio to the latest version.
- 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
Regards
Sudharsan
Thanks, but I could not open xaml file after emptying the project.json file…also tried renaming/deleting project.json but did not work:(