Remove workaound for System.Reflection.TypeExtensions package
authorWes Haggard <Wes.Haggard@microsoft.com>
Mon, 27 Aug 2018 23:30:23 +0000 (16:30 -0700)
committerWes Haggard <Wes.Haggard@microsoft.com>
Wed, 29 Aug 2018 00:56:48 +0000 (17:56 -0700)
We are now harvesting a serviced package so we can remove the
workaround for pulling from the older package.

Commit migrated from https://github.com/dotnet/corefx/commit/8d5f259e98109a7a9d35ae995781daa124fa1806

src/libraries/System.Reflection.TypeExtensions/pkg/System.Reflection.TypeExtensions.pkgproj

index 7159f10..0bf70d9 100644 (file)
          therefore it cannot reference NETStandard.Library -->
     <SuppressMetaPackage Include="NETStandard.Library" />
   </ItemGroup>
-  
-  <PropertyGroup>
-    <HarvestVersion>4.4.0</HarvestVersion>
-  </PropertyGroup>
-  <Target Name="_checkForNewerHarvestPackage" AfterTargets="HarvestStablePackage">
-    <GetLastStablePackage LatestPackages="@(_latestPackage)" PackageIndexes="@(PackageIndex)">
-      <Output TaskParameter="LastStablePackages" ItemName="_lastStablePackage" />
-    </GetLastStablePackage>
-    <Error Condition="'%(_lastStablePackage.Version)' &gt; '4.5.0'"
-           Text="This target and the hardcoded HarvestVersion should be removed from this project.  Please ensure that the harvested package contains a valid lib/netcoreapp1.0 asset." />
-  </Target>
   <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.targets))\Directory.Build.targets" />
 </Project>
\ No newline at end of file