Hello!
I can see the File version and product version columns but I'd also like to see the "Assembly Version" of .net compiled files since it can be different.
In powershell you can get to it like this:
[System.Reflection.AssemblyName]::GetAssemblyName('C:\Path\To\Your.dll').Version
AssemblyVersion lives in the assembly manifest, not in the standard file‐version resource that Windows’ Property System exposes.
Cheating, ChatGPT says "From native C++, the cleanest way to read a .NET assembly’s AssemblyVersion (the four-part CLR identity) is to use the unmanaged metadata COM APIs—specifically, create an IMetaDataDispenser (via CLSID_CorMetaDataDispenser), open the target PE file with OpenScope, QueryInterface for IMetaDataAssemblyImport, and call GetAssemblyProps, which returns an ASSEMBLYMETADATA struct containing usMajorVersion, usMinorVersion, usBuildNumber, and usRevisionNumber. This path is fast, doesn’t load or execute the CLR, and works for any CLI-compliant assembly (Framework, Core, or .NET 5+)"
Wish: Column for .net AssemblyVersion
Re: Wish: Column for .net AssemblyVersion
I have put on my TODO list: add a "Assembly Version" property on my TODO list.
Thank you for your suggestion.
Thank you for your suggestion.