8326a60d7a
The build machine is using an old version of msbuild for signing. Lower the version of these 2 files to make is available for signing
42 lines
1.8 KiB
XML
42 lines
1.8 KiB
XML
<Project ToolsVersion="15.0">
|
|
<Target Name="WriteBuildInfoProps"
|
|
DependsOnTargets="BuildDotnetCliBuildFramework">
|
|
|
|
<GetCurrentRuntimeInformation>
|
|
<Output TaskParameter="Rid" PropertyName="HostRid" />
|
|
<Output TaskParameter="OSName" PropertyName="HostOSName" />
|
|
<Output TaskParameter="OSPlatform" PropertyName="HostOSPlatform" />
|
|
</GetCurrentRuntimeInformation>
|
|
|
|
<PropertyGroup>
|
|
<Rid Condition=" '$(Rid)' == '' ">$(HostRid)</Rid>
|
|
<Architecture Condition=" '$(Architecture)' == '' ">x64</Architecture>
|
|
<OSName Condition=" '$(OSName)' == '' ">$(HostOSName)</OSName>
|
|
<OSPlatform Condition=" '$(OSPlatform)' == '' ">$(HostOSPlatform)</OSPlatform>
|
|
|
|
<BuildInfoPropsContent>
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<PropertyGroup>
|
|
<Rid>$(Rid)</Rid>
|
|
<Architecture>$(Architecture)</Architecture>
|
|
<OSName>$(OSName)</OSName>
|
|
<OSPlatform>$(OSPlatform)</OSPlatform>
|
|
</PropertyGroup>
|
|
</Project>
|
|
</BuildInfoPropsContent>
|
|
|
|
<ExistingBuildInfoPropsContent Condition=" Exists('$(BuildInfoProps)') ">
|
|
$([System.IO.File]::ReadAllText($(BuildInfoProps)))
|
|
</ExistingBuildInfoPropsContent>
|
|
|
|
<ShouldOverwriteBuildInfoPropsFile>false</ShouldOverwriteBuildInfoPropsFile>
|
|
<ShouldOverwriteBuildInfoPropsFile
|
|
Condition=" '$(ExistingBuildInfoPropsContent.Trim())' != '$(BuildInfoPropsContent.Trim())' ">true</ShouldOverwriteBuildInfoPropsFile>
|
|
</PropertyGroup>
|
|
|
|
<WriteLinesToFile File="$(BuildInfoProps)"
|
|
Lines="$(BuildInfoPropsContent)"
|
|
Condition=" '$(ShouldOverwriteBuildInfoPropsFile)' == 'true' "
|
|
Overwrite="true" />
|
|
</Target>
|
|
</Project>
|