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

Bob Summerwill bob at summerwill.net
Thu Sep 11 21:49:56 UTC 2014


On a related theme we found multiple sets of slightly redundant meta data
when building MonoDevelop add-ins.

AssemblyInfo.cs plus two different XML files.

Cheers,
Bob
 On Sep 11, 2014 2:43 PM, "Edward Ned Harvey (mono)" <
edward.harvey.mono at clevertrove.com> wrote:

>  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...
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20140911/0217ecc2/attachment-0001.html>


More information about the Mono-list mailing list