Skip to content

Instantly share code, notes, and snippets.

@chamons
Created January 29, 2018 19:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chamons/e68afcb736daaee2177a2fcbef6c6842 to your computer and use it in GitHub Desktop.
Save chamons/e68afcb736daaee2177a2fcbef6c6842 to your computer and use it in GitHub Desktop.
Building a command line library
$ cat foo.cs
namespace Test
{
public class Adder
{
public static int Add (int a, int b) => a + b;
}
}
$ mcs foo.cs /t:library
$ ls foo.dll
foo.dll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment