[英]Defining Custom Library Version in Mono
Does anyone how to set a custom library version, when compiling with the gmcs command?有人在使用 gmcs 命令编译时如何设置自定义库版本吗? Basically, when I would run "monop -r mydll.dll" it should say Version=MyVersion(eg: 1.0.1.0).
基本上,当我运行“monop -r mydll.dll”时,它应该显示 Version=MyVersion(例如:1.0.1.0)。
Any help is welcome, Thanks in advance!欢迎任何帮助,在此先感谢!
Henrique恩里克
Yeah, apparently 1.0.1.0 is the default dll version in Mono, or something like that.是的,显然 1.0.1.0 是 Mono 或类似的默认 dll 版本。 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.
我找到了一个 xml 配置文件,名称为 dll,其中有一个参数可以定义您的库版本。 So now, when a run
monop2 -r:mydll.dll
, it gives me my custom version.所以现在,当运行
monop2 -r:mydll.dll
时,它给了我我的自定义版本。 Thanks anyway!不管怎么说,还是要谢谢你!
I do not understand...if I run我不明白……如果我跑
monop2 -r:mydll.dll
the output is output 是
mydll
Version=0.3.4146.43067
Culture=neutral
PublicKeyToken=null
and it's what you want to achieve...or not?这就是你想要达到的目标......或者不是?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.