Versioning

83 views
Skip to first unread message

Albrecht Hilmes

unread,
Aug 12, 2025, 4:46:42 AMAug 12
to Excel-DNA
VersionInfo.pngWhat is the best practice for versioning?
Can I add the version number to *.xll to be displayed in the file properties (see first picture)?
The *.dll file has a version number in the file properties - which is nomally packed (second picture).

Herzliche Grüße
Albrecht

Govert van Drimmelen

unread,
Aug 13, 2025, 6:06:02 AMAug 13
to Excel-DNA
Hi Albrecht,

The .xll files do have an embeded version resource. However, in Windows Explorer the version information for the .xll file will not be shown by default. You can rename the .xll file to .dll and the check the properties to see the version information.

This will normally just be the pre-built Excel-DNA version information.
You can then have the version information from your .dll project copied to the .xll output by adding this project property to your .csproj file:

    <PropertyGroup>
        <ExcelAddInUseVersionAsOutputVersion>true<ExcelAddInUseVersionAsOutputVersion>
    </PropertyGroup>


-Govert
Reply all
Reply to author
Forward
0 new messages