[Mono-list] Assembly Version / Project Version / AssemblyVersion

Edward Ned Harvey (mono) edward.harvey.mono at clevertrove.com
Thu Sep 11 21:29:06 UTC 2014


When I right-click a project and go to Options, Main Settings, there is a "Version" field there.  However, when I change that, it has no effect on System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.

I noticed if I edit Properties/AssemblyInfo.cs, there is a "AssemblyVersion" and "AssemblyFileVersion" in there.  And these do indeed control the executing assembly version.

So I have a couple of questions ... What's intended to be the difference?
Or, more what I care about, Is there some way for the run-time application to detect the version as set in the Project Options?  (Because this is more convenient to maintain.)

Is there some other recommended place to set and/or detect the current running application version?

Thanks...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140911/9a8b92ee/attachment.html>


More information about the Mono-list mailing list