sdk
sdk copied to clipboard
Embed version info into the binary
Currently, the host binaries don't contain versioning information. The Commit SHA and the version info should be added to the host binaries.
See https://github.com/dotnet/cli/pull/2749
Could we embed this and the version in the same way that CoreCLR is now doing (i.e. an SCCS ID: https://en.wikipedia.org/wiki/Source_Code_Control_System)? Then I can run what dotnet and it will tell me the version and commit hash :)
The SCCS ID is already embedded in the host binaries. We need to think about the resource and branding for Windows dotnet process. So keeping this issue open -- related to https://github.com/dotnet/cli/issues/3041
Cc @gkhanna79