Difference between MS C#(csc) and mono C#(mcs) in terms of linking DLL
- by prosseek
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?