类型为';System.Xml.xmleexception';发生在System.Xml.ni.dll中,但未在用户代码中处理

类型为';System.Xml.xmleexception';发生在System.Xml.ni.dll中,但未在用户代码中处理,exception,visual-studio-2012,Exception,Visual Studio 2012,用visualstudio程序实现时间进程。我有例外 System.Xml.ni.dll中发生类型为“System.Xml.XmlException”的异常,但未在用户代码中处理该异常 我的代码: XDocument XDocument=XDocument.Load(“gfx/actor.xml”) My actor.xml文件: <?xml version="1.0" encoding="utf-8" ?> <XnaContent> <!-- TODO: re

用visualstudio程序实现时间进程。我有例外

System.Xml.ni.dll中发生类型为“System.Xml.XmlException”的异常,但未在用户代码中处理该异常

我的代码: XDocument XDocument=XDocument.Load(“gfx/actor.xml”)

My actor.xml文件:

<?xml version="1.0" encoding="utf-8" ?>
<XnaContent>
  <!-- TODO: replace this Asset with your own XML asset data. -->
  <Asset Type="System.String"></Asset>
</XnaContent>

请帮我解决这个问题。
感谢所有人

阅读此消息或内部异常。嗨,SLaks,此消息是问题的标题。我在调试中看到也显示了这条消息。这是VS告诉您引发了异常。您需要使用调试器来查看异常的实际情况。您好,请帮助我解决问题。我试图修复它,但没有任何结果。我希望你能帮助我。谢谢。您需要阅读异常消息并找出问题所在。