The following error occurs when attempting convert a datatable to enumerable on
Studio 2024.10.1 - 6/27/2024
Community License
User-mode Installation
License Provider: Orchestrator (Cloud)
Microsoft Windows 11 Pro 64-bit
8.0.0
Argument ‘Value’: CS0012: The type ‘IXmlSerializable’ is defined in an assembly that is not referenced. You must add a reference to assembly ‘System.Xml.ReaderWriter, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.
The attached project includes a single assign activity that demonstrates the error.
Manually adding the assembly reference line to the xaml resolves the issue.
Open the xaml file with this error in a text editor.
Add <AssemblyReference>System.Xml.ReaderWriter</AssemblyReference> (without the quotes) within the <sco:Collection x:TypeArguments=“AssemblyReference”> element.
This fixed it for me, thanks! But just by looking at other entries under that element I think these ” ’ characters are not needed. <AssemblyReference>System.Xml.ReaderWriter</AssemblyReference>
I’ve edited the post a bit and marked it as a solution. @Steven_Raines1 must have added the extra characters to get around the forum automatically sanitizing the HTML tags and making them invisible unless you use a code block.