缺少XML引用。 [英] XML reference missing.

查看:78
本文介绍了缺少XML引用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好。

我是编程新手,目前我正在使用Visual Studio 2015.我想从XML文件中读取数据并找到了这条指令:

I'm new to programing and currently I'm using Visual Studio 2015. I want to read data from an XML file and have found this instruction:

https://support.microsoft.com/en-us/help/815658/how-to-read-the-xml-data-from-a-file- by-using-visual-c

https://support.microsoft.com/en-us/help/815658/how-to-read-the-xml-data-from-a-file-by-using-visual-c

但是,按照说明操作时,我无法在"添加引用"中找到对System.xml的必需引用。弹出框。实际上,框内的内容是EMPTY。经过一些研究,人们建议我使用的VS已损坏/
安装错误。有没有办法解决这个问题,而无需重新下载并重新安装VS?我可以在某个值得信赖的来源找到并下载丢失的dll文件吗?

However, when following the instruction, I can not find the required reference to System.xml.dll in the "add reference" pop up box. Actually, the content inside the box is EMPTY. After a few research, people suggest that the VS I'm using is corrupted/ bad installment. Is there a way to fix this problem without re-download and re-install VS? can I find and download the missing dll file at some trustworthy source, perhaps?

我的问题可能很愚蠢,但我愿意接受建议。提前谢谢。

My question may be silly but I'm open for advice. Thank you in advance.

推荐答案

我认为你不需要重新安装VS.我认为您没有安装.net框架。

I think you don't need to reinstall VS. I think you did not install a .net framework.

您可以下载并安装.net框架,例如:

You can download and install a .net framework for example here:

https://www.microsoft.com/en-US/download/details.aspx?id=53344

问候,Guido


这篇关于缺少XML引用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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