compilation - How do i build a project with mono via cmd line? -


I have to use command line / terminal and I have to use GMC and not xbuild

How do I compile a project? My one liner looks like this

  GMCD-D: Mydef-Lib: my_ref_folder -debug -r: system Web, system Data, MySQLite Data - Racers: '*. Cs'   

The problem I get is error error CS0006: Metadata file can not be found mysql.data '' . I googled and I tried gacutil -i name.dll` as many suggestions, but after installing mysql I still got that error i also nered lucence.net and when i gacutil with it I get the error

  # sudo gacutil -i Lucene.Net.dll Failure assembly adding to the Lucene.Net.dll cache: attempt to set up an assembly without a strong name   

How do I create a project with GMC? I tried goggle examples but GMCS is not a great keyword and I'm stumping with man pages. -Lib: does not work or does not -l my_ref_folder has not found both dlls / references in the old and me metadata file error

Here is a liner

GMCS "/out:myfile.dll" -t: library -r: systems, system data "/r:/home/user/path/Lucene.Net.dll" "/r:/home/user/path/mysql.data.dll" / nylogo / WARNING: 4 / debug: + / debug: full / customization - / Codepeap: UTF8 "/ Define: Tracey; Debug" - Servers: '/ home / user / path / *. Cs'

Comments