.so files in the SDK use this pattern for the version string:
$ strings shared/Microsoft.NETCore.App/11.0.0-preview.7.26356.111/libSystem.Net.Security.Native.so | grep '@(#)'
@(#)Version 11.0.26.35711 @Commit: ccf0d067ca5d747484d7e330ca6aa8c14ede9cb3
aspnetcoretools.so doesn't include such a string:
$ strings /home/tmds/projects/tools-dont-execute/dotnet/sdk/11.0.100-preview.7.26356.111/DotnetTools/aspnetcoretools/11.0.0-preview.7.26356.111/tools/any/fedora.44-x64/libaspnetcoretools.so | grep '@(#)'
It would be nice if it would.
Note: the hash is appearing in some places in the binary already:
$ strings sdk/11.0.100-preview.7.26356.111/DotnetTools/aspnetcoretools/11.0.0-preview.7.26356.111/tools/any/fedora.44-x64/libaspnetcoretools.so | grep ccf0d067ca5d747484d7e330ca6aa8c14ede9cb3
11.0.0-preview.7.26356.111+ccf0d067ca5d747484d7e330ca6aa8c14ede9cb3
CommitHashPccf0d067ca5d747484d7e330ca6aa8c14ede9cb3
https://github.com/dotnet/dotnet/tree/ccf0d067ca5d747484d7e330ca6aa8c14ede9cb3,OriginalRepoCommitHashP2b7a3d5c1757296f038696e208662370edac5368
.NET: ilc 11.0.0-preview.7.26356.111+ccf0d067ca5d747484d7e330ca6aa8c14ede9cb3
.so files in the SDK use this pattern for the version string:
aspnetcoretools.sodoesn't include such a string:It would be nice if it would.
Note: the hash is appearing in some places in the binary already: