2017-02-07 23:45:19 +00:00
|
|
|
<Project ToolsVersion="15.0">
|
|
|
|
<Target Name="WriteHostInfoProps"
|
2017-02-08 00:52:08 +00:00
|
|
|
Condition=" !Exists('$(HostInfoProps)') "
|
|
|
|
DependsOnTargets="BuildDotnetCliBuildFramework">
|
2017-03-08 19:10:53 +00:00
|
|
|
|
2017-02-10 20:13:44 +00:00
|
|
|
<GetCurrentRuntimeInformation>
|
2017-02-08 22:02:29 +00:00
|
|
|
<Output TaskParameter="Rid" PropertyName="HostRid" />
|
|
|
|
<Output TaskParameter="OSName" PropertyName="HostOSName" />
|
2017-02-07 23:45:19 +00:00
|
|
|
</GetCurrentRuntimeInformation>
|
|
|
|
|
|
|
|
<PropertyGroup>
|
|
|
|
<HostInfoPropsContent>
|
2017-09-05 21:44:25 +00:00
|
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-02-07 23:45:19 +00:00
|
|
|
<PropertyGroup>
|
2017-03-08 19:10:53 +00:00
|
|
|
<HostRid>$(HostRid)</HostRid>
|
|
|
|
<HostOSName>$(HostOSName)</HostOSName>
|
2017-02-07 23:45:19 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
</Project>
|
|
|
|
</HostInfoPropsContent>
|
|
|
|
</PropertyGroup>
|
|
|
|
|
|
|
|
<WriteLinesToFile File="$(HostInfoProps)"
|
2017-02-09 18:50:21 +00:00
|
|
|
Lines="$(HostInfoPropsContent)"
|
|
|
|
Overwrite="true" />
|
2017-02-07 23:45:19 +00:00
|
|
|
</Target>
|
|
|
|
</Project>
|