Difference between MS C#(csc) and mono C#(mcs) in terms of linking DLL

Posted by prosseek on Stack Overflow See other posts from Stack Overflow or by prosseek
Published on 2010-04-09T20:41:09Z Indexed on 2010/04/09 20:43 UTC
Read the original article Hit count: 448

Filed under:
|
|

I could generate DLL and link it to the EXE as follows with Visual Studio (csc)

mcs /target:library /out:MathLibrary.DLL Add.cs Mult.cs
mcs /out:TestCode.exe /reference:MathLibrary.DLL TestCode.cs

But, with mono, I have to give the DLL info as follows.

mcs /out:TestCode.exe /reference:./MathLibrary.DLL TestCode.cs <--

Is this expected behavior? Is there any way to use just the name of DLL in mono?

© Stack Overflow or respective owner

Related posts about mono

Related posts about linking