2

我正在尝试使用 mcs 从命令行构建单个 cs 文件。我在 c# 代码中使用了一个外部库:

using SomeLib

但是,我不知道如何为 mcs 指定所需的库。如何解决此错误?

4

1 回答 1

0

The solution was to use gmcs and pass the library using the r specifier as follows:

gmcs filename.cs -r:libthirdparty
于 2012-07-07T17:12:58.293 回答