Install 1x runtimes on Windows

This commit is contained in:
Daniel Plaisted 2019-05-30 09:56:24 -07:00
parent 50f3eff571
commit 6cfe0a7eae

View file

@ -49,6 +49,11 @@
<Output TaskParameter="Lines" PropertyName="OsReleaseContents"/>
</ReadLinesFromFile>
<!-- Set OsReleaseContents to Windows to make later comparisons easier -->
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<OsReleaseContents>Windows</OsReleaseContents>
</PropertyGroup>
<PropertyGroup Condition="$(OsReleaseContents.Contains('NAME=%22Ubuntu%22'))">
<Supports1xRuntimes Condition="$(OsReleaseContents.Contains('VERSION_ID=%2218.04%22'))">false</Supports1xRuntimes>
</PropertyGroup>