Search code examples
monoversiongmcs

Defining Custom Library Version in Mono


Does anyone how to set a custom library version, when compiling with the gmcs command? Basically, when I would run "monop -r mydll.dll" it should say Version=MyVersion(e.g.: 1.0.1.0).

Any help is welcome, Thanks in advance!

Henrique


Solution

  • Yeah, apparently 1.0.1.0 is the default dll version in Mono, or something like that. I found out a xml configuration file, with the name o the dll, where there is a parameter that you can define you're library version. So now, when a run monop2 -r:mydll.dll, it gives me my custom version. Thanks anyway!