
* master: Adding a Wpf and Winforms templates registry key (#218) Update coresetup to preview-27218-01 (#216) Update WindowsDesktop Framework (#215) Update coresetup to preview-27217-02 (#214) Update coresetup to preview-27217-01 Update coresetup to preview-27216-02 (#211) make GivenDotnetUsesDotnetTools test optional based on AspNetCore availability (#207) Update DependencyVersions.props Include the WindowsDesktop sharedframework in install 'Finish' page. (#208) Update readme; core-sdk:master (#209) Update WindowsDesktop Update toolset Update coresetup to preview-27214-02 change debug to Debug to match managed part add entry for freebsd to badge processing update stage0 sdk to 3.0 preview Update coresetup to preview-27206-02 (#202) initial support for freebsd
46 lines
2.2 KiB
XML
46 lines
2.2 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>
|
|
<IsLinux Condition = " '$(HostOSName)' != 'win' AND '$(HostOSName)' != 'osx' AND '$(HostOSName)' != 'freebsd'">True</IsLinux>
|
|
<OSName Condition=" '$(OSName)' == '' AND '$(IsLinux)' != 'True' ">$(HostOSName)</OSName>
|
|
<OSPlatform Condition=" '$(OSPlatform)' == '' AND '$(IsLinux)' != 'True' ">$(HostOSPlatform)</OSPlatform>
|
|
<OSName Condition=" '$(OSName)' == '' AND '$(IsLinux)' == 'True' ">linux</OSName>
|
|
<OSPlatform Condition=" '$(OSPlatform)' == '' AND '$(IsLinux)' == 'True' ">linux</OSPlatform>
|
|
|
|
<Architecture Condition=" '$(Architecture)' == '' ">x64</Architecture>
|
|
<Rid Condition=" '$(Rid)' == '' ">$(OSName)-$(Architecture)</Rid>
|
|
|
|
<BuildInfoPropsContent>
|
|
<Project ToolsVersion="15.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>
|