Getting a compile error in c# about not referencing System.XML, yes System.XML is being reference

前端 未结 3 799
感动是毒
感动是毒 2020-12-20 23:17

I am trying to add a new feature to an old program I wrote. However, when trying to get the program to build in VS express it spits back an error message to me.

3条回答
  •  不知归路
    2020-12-20 23:41

    Using a namespace does not mean you referenced something. You need to add a reference to System.XML.

    If you are using Visual Studio, right click on references, click Add Reference and then select System.XML.

提交回复
热议问题