I have some perfectly working code using XDocument, XMLWriter etc but when I try to add it to my XNA 4.0 game it doesn't work.
I get the following compilation errors, even though I have all the required references referenced and usings used as shown here:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.IO;
The type or namespace name 'XmlTextWriter' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'XmlNodeList' could not be found (are you missing a using directive or an assembly reference?)
The type or namespace name 'XmlDocument' could not be found (are you missing a using directive or an assembly reference?)
Any help?
If you developing a Windows Store App , you may want to check the following thread...
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.