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

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.

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

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.

Hi @menno,

I’ll look into this.

https://mcneel.myjetbrains.com/youtrack/issue/RH-49904

– Dale

1 Like

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

Oops, sorry!