Fix version info missing from native binaries (dotnet/core-setup#7864)
authorDavis Goodin <dagood@users.noreply.github.com>
Tue, 27 Aug 2019 18:18:01 +0000 (13:18 -0500)
committerGitHub <noreply@github.com>
Tue, 27 Aug 2019 18:18:01 +0000 (13:18 -0500)
commitde8c15c36a3dd00e6c538a44041e291bb10b2dab
tree1cf506728fa46de46cd1294b16bee9591eb140af
parent3b8712b4667d2917ede1cd8279e9705d94f8dafd
Fix version info missing from native binaries (dotnet/core-setup#7864)

Allow the SDK to restore SourceLink and find its MSBuild props and targets files. These are used to fetch Git information.

Use Arcade-generated '_version.c'. The new '_version.c' is identical to the old 'version.cpp'. The host build.sh generated an empty 'version.cpp' when it doesn't already exist at the specified path, which caused the "No version information" message to be included.

Commit migrated from https://github.com/dotnet/core-setup/commit/bac3b0dc8ec9e0d4d2441524ed2bca24f8bab748
src/installer/corehost/build.proj
src/installer/corehost/build.sh