[RhinoCommon/Rhino6] Plug-in version from AssemblyVersionAttribute vs AssemblyFileVersionAttribute

(Menno Deij - van Rijswijk) #1

I just noticed a change in behavior for showing the version of a plug-in. In Rhino 5, the version shown in the Tools>Plug-ins has changed. When the version of the plug-in is shown, Rhino 5 takes the version information from the AssemblyVersionAttribute, whereas Rhino 6 takes the version information from the AssemblyFileVersionAttribute.

It would be nice if you could adhere to the best practices outlined here https://support.microsoft.com/en-nz/help/556041 and revert to using the AssemblyVersionAttribute.

(Nathan 'jesterKing' Letwory) #2

There were reasons. @will can give the arguments, I forgot.

(Will Pearson) #4

Sorry for the delay @menno. I’m afraid I’ll have to defer to @dale on this one as he wrote the code in question.

@nathanletwory – I think you’re thinking of my arguments for using the AssemblyInformationalVersionAttribute because it allows SemVer-compatible version strings which are required for the package manager.

(Dale Fugier) #8

Hi @menno,

I’ll look into this.


– Dale

(Nathan 'jesterKing' Letwory) #10

@will, I’m thinking @nathan will be confused as to why he’s involved in this discussion. I’m the augmented Nathan @nathanletwory… (:

(Will Pearson) #11

Oops, sorry!