在 C#/Mono 中使用以下代码,
using System.Xml.Linq;
我遇到了这个错误。
error CS0234: The type or namespace name `Linq' does not exist in the namespace `System.Xml'. Are you missing an assembly reference?
What assembly reference do I need to use System.Xml.Linq with mono?
dmcs /r:???? main.cs
最佳答案
那就是:
dmcs -r:System.Xml.Linq.dll main.cs
关于xml - 将 System.Xml.Linq 与单声道命令行编译器一起使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4088186/