Niklas Rosencrantz Asked: 2017-07-14 03:06:40 +0800 CST2017-07-14 03:06:40 +0800 CST 2017-07-14 03:06:40 +0800 CST How to add references with C# 772 I want to compile and execute a C# program that needs external dll. In Visual Studio we just add...reference. What is the corresponding way to do that with Ubuntu 16.04? I use the SDK from Microsoft. c# 1 Answers Voted Best Answer Niklas Rosencrantz 2017-08-05T19:07:22+08:002017-08-05T19:07:22+08:00 I found a way to do it with mono: $ mcs -r:FortnoxAPILibrary.dll Program.cs;./Program.exe
I found a way to do it with mono:
$ mcs -r:FortnoxAPILibrary.dll Program.cs;./Program.exe