2017-07-06 16:21:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
2017-07-06 18:11:07 +00:00
|
|
|
<Target Name="EvaluateRuntimeCoherence"
|
2017-07-06 16:21:59 +00:00
|
|
|
DependsOnTargets="ReadAspNetCoreSharedRuntimeVersionFile;
|
2017-07-06 18:11:07 +00:00
|
|
|
CompareRuntimeVersions" />
|
2017-07-06 16:21:59 +00:00
|
|
|
|
|
|
|
<Target Name="ReadAspNetCoreSharedRuntimeVersionFile"
|
|
|
|
DependsOnTargets="DownloadHostAndSharedFxArtifacts">
|
|
|
|
<ItemGroup>
|
|
|
|
<File Include="$(AspNetCoreSharedRuntimeVersionFile)" />
|
|
|
|
</ItemGroup>
|
|
|
|
<ReadLinesFromFile File="@(File)">
|
|
|
|
<Output
|
|
|
|
TaskParameter="Lines"
|
|
|
|
ItemName="AspNetCoreSharedRuntimeVersion"/>
|
|
|
|
</ReadLinesFromFile>
|
|
|
|
</Target>
|
|
|
|
|
2017-07-06 18:11:07 +00:00
|
|
|
<Target Name="CompareRuntimeVersions">
|
2017-07-06 16:21:59 +00:00
|
|
|
<PropertyGroup>
|
|
|
|
<Coherent>false</Coherent>
|
2017-12-02 04:07:48 +00:00
|
|
|
<Coherent Condition=" '$(MicrosoftNETCoreAppPackageVersion)' == '@(AspNetCoreSharedRuntimeVersion)' ">true</Coherent>
|
2017-07-06 16:21:59 +00:00
|
|
|
</PropertyGroup>
|
|
|
|
</Target>
|
|
|
|
</Project>
|