- Home /
UWP build fails: System.Xml cannot be found
Hello,
I am trying to build my project for UWP, HoloLens to be specific. I am getting XML data from the web and parse that using NewtonSoft.JsonConvert.SerializeXmlNode (XmlNode node) (returns string). Here's a list of stuff you need to know and stuff that I tried already:
My Unity version is 2018.1.3f1, Scripting Runtime Version is .NET 4,x Equivalent, Scripting Backend is Mono, API Comp. Lvl is .NET 4.x as well.
The exact error message: Assets\Scripts\RestManager.cs(62,23): error CS7069: Reference to type 'XmlNode' claims it is defined in 'System.Xml', but it could not be found
I double checked the necessary includes and also checked for a similar error described here: https://github.com/OmniSharp/omnisharp-vscode/issues/1986
What I want to do works both in a standalone build and the editor.
Any help is much appreciated!
Your answer
![](https://koobas.hobune.stream/wayback/20220612170514im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Using .NET 4.6 features not supported by Unity WSA Build 2 Answers
Can Unity work with a "Managed .NET assembly (NatNetML.dll) for use in .Net compatible clients"? 1 Answer
[windows store] why a drastic lost of FPS after a build for windows store? 2 Answers
Windows Phone 8.1 TouchKeyboard problem 1 Answer
Cant build project from Unity 5 using the Kinect for Windows store 1 Answer