简体   繁体   中英

C# Mono Compile with Libraries folder?

I have a C# project like this:

root
|- libs
|  |- Compression.cs
|- test.cs

My compilation shell command is as follows:

mcs /out:test.exe *.cs

I'm getting the error message:

The type or namespace name `Compression' could not be found. Are you missing an assembly reference?

Any idea how I can tell mono to look in subfolders for C# libraries?

As Lex Li said in a comment on the question:

mcs /out:test.exe **/*.cs

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM