将System.Xml.Linq与Mono命令行编译器一起使用 [英] Using System.Xml.Linq with mono command line compilers
本文介绍了将System.Xml.Linq与Mono命令行编译器一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在C#/Mono中使用以下代码,
With the following code in 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?
我需要将哪个System.Xml.Linq与mono一起使用?
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
这篇关于将System.Xml.Linq与Mono命令行编译器一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文