45a1e9e56c
* Allow host info passed in from the command line to override machine settings * Simplify the logic * Address PR comments to keep a separate HostRid and HostOSName that are static * Rename to BuildInfo.props * Address PR comments * Fix the previous merge * Fix spacing * Address PR comments
13 lines
534 B
XML
13 lines
534 B
XML
<Project ToolsVersion="15.0">
|
|
<Target Name="WriteDynamicPropsToStaticPropsFiles"
|
|
DependsOnTargets="BuildDotnetCliBuildFramework;
|
|
EnsureGeneratedPropsDirectory;
|
|
WriteGitCommitInfoProps;
|
|
WriteHostInfoProps;
|
|
WriteBuildInfoProps"/>
|
|
|
|
<Target Name="EnsureGeneratedPropsDirectory">
|
|
<MakeDir Condition=" !Exists('$(GeneratedPropsDir)') "
|
|
Directories="$(GeneratedPropsDir)" />
|
|
</Target>
|
|
</Project>
|