类型或名称空间" XmlNode"无法找到

时间:2016-09-15 22:53:13

标签: c# xml dll .net-assembly

我收到错误"类型或命名空间' XmlNode'无法找到"即使我使用以下命名空间(包括System.Xml):

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
using Windows.Data.Xml.Dom;
using Windows.Data.Xml.Xsl;

奇怪的是,XmlNodeList即将到来(显示在IntelliSense上)。

我已尝试过所有这些"使用"声明,并尝试更改目标平台,看看这是否有助于某些原因(虽然我不知道为什么会这样)。

我正在构建的应用是UWP Windows应用。

我最近更新了Visual Studio - 这可能是一个因素吗?有没有人对此有任何见解?

0 个答案:

没有答案
相关问题