System.Xml.XPath.IXPathNavigab ... [英] System.Xml.XPath.IXPathNavigab...

查看:83
本文介绍了System.Xml.XPath.IXPathNavigab ...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了htmlagility包并开发了一个新程序,但是当我运行该程序时。我有以下错误。



类型''System.Xml.XPath.IXPathNavigableS''在未引用的程序集中定义。您必须添加对程序集'System.Xml.XPath,Version = 2.0.5.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'的引用''



我搜索了系统。 C:\Program Files \ MicroSoft SDK中的Xml.Xpath dll,没有Silverlight文件夹,也没有dll。我安装了Silverlight 5.1。当我在C:\Program Files \ Mysoftoft Silverlight \5.1.10411.0中搜索它时,我只找到System.Xml.dll但没有找到xpath.dll。该程序在VS 2008和Windows XP中。请给我任何建议继续前进并开始使用htmlagilitypack。



谢谢。

I installed htmlagility pack and developed a new program but when I run the program. I have the following error.

The type ''System.Xml.XPath.IXPathNavigableS'' is defined in an assembly that is not referenced. You must add a reference to assembly ''System.Xml.XPath, Version=2.0.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35''

I searched System.Xml.Xpath dll in C:\Program Files\Microsoft SDKs and there is no Silverlight folder and no dll. I installed Silverlight 5.1. When I searched it in C:\Program Files\Microsoft Silverlight\5.1.10411.0, I only found System.Xml.dll but no xpath.dll. The program is in VS 2008 and window XP. Please give me any suggestions to move on and start using htmlagilitypack.

Thanks.

推荐答案

Hi


我认为
Hi
I think the
System.Xml.XPath

名称空间位于

System.Xml.dll

你可以在文件夹中找到这个dll



This dll you can find in the folder

C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v3.5\Profile\Client







C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client





或者您可以使用 Visual Studio项目 - >右键单击 - > AddReference - > .NET - > System.Xml.dll 找到dll。



你能否请检查下面提到的文件夹。





Or you can just use Visual Studio Project -> Right Click -> AddReference -> .NET -> System.Xml.dll to find dll.

Can you please check in the below mentioned folder also.

C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Libraries\Client

在那里你可以找到一个名为

There you can find a dll named

System.Xml.XPath.dll







问候

多米尼克




Regards
Dominic


您好b $ b

对不起除了引用dll之外我找不到任何解决方案。

Hi
Sorry i couldn''t find any solution other than referring the dll.
C:\Program Files\Microsoft SDKs\Silverlight\v4.0\Libraries\Client\System.Xml.XPath.dll

你可以在你的系统中搜索这个dll吗?有时您尝试查找DLL的位置可能是错误的。



其他人可能会有更好的解决方案。一切都好!!





问候

Dominic

Can you search in your system for this dll ? Sometimes the location you are trying to find the dll may be wrong.

Others may come with a better solution. All the best !!


Regards
Dominic


不,我没有。我刚刚意识到VS 2008配备了Silverlight 2.0。所以我安装了v 2.0并且有C:\Program Files \ MicroSoft SDKs\Silverlight \v2.0 \ Library \ Client,但是没有System.Xml.Xpath.dll文件。 VS 2008和silverlight 2.0中没有SYSTEM.XML.XPATH dll!
No, I do not. I just realized that VS 2008 comes with Silverlight 2.0. So I installed v 2.0 and there is C:\Program Files\Microsoft SDKs\Silverlight\v2.0\Libraries\Client, but there is no System.Xml.Xpath.dll file. No SYSTEM.XML.XPATH dll in VS 2008 and silverlight 2.0!


这篇关于System.Xml.XPath.IXPathNavigab ...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆