UiPath / CoreWF

WF runtime ported to work on .NET 6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ambiguous reference System.Xaml 1.0 & System.Xaml 4.0

yekanchi opened this issue · comments

when i try to serialize an activity i git this error:

StreamWriter sw = File.CreateText(@"C:\Workflows\add.xaml");
XamlWriter xw2 = ActivityXamlServices.CreateBuilderWriter(new XamlXmlWriter(sw, new XamlSchemaContext()));
XamlServices.Save(xw2, ab);
sw.Close();

A repro would help. Make a gist that we can execute and see fail.

Also, what are you targeting?

Also, what are you targeting?

The Problem Resolved!
I was Targeting .net core 3.1 and changed it it .net core 3.0
and now it works fine.

Thanks for quick help.

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.