Ambiguous reference System.Xaml 1.0 & System.Xaml 4.0
yekanchi opened this issue · comments
Morteza T commented
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();
Lucian Bargaoanu commented
A repro would help. Make a gist that we can execute and see fail.
Lucian Bargaoanu commented
Also, what are you targeting?
Morteza T commented
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.
github-actions commented
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.