Remove prebuilts for source build (#13360)

This commit is contained in:
John Luo 2019-08-27 11:18:52 -07:00 committed by GitHub
parent 8d817f8070
commit 50660f31c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,9 @@
Without this here, we see regular failures with 'error MSB4236: The SDK 'Yarn.MSBuild' specified could not be found.'
Since this project is evaluated before .npmproj files are loaded, this should cause the package to end
up in the NuGet cache ahead of time.
This is not needed in source build.
-->
<PackageReference Include="Yarn.MSBuild" Version="1.15.2" />
<PackageReference Condition="'$(DotNetBuildFromSource)' != 'true'" Include="Yarn.MSBuild" Version="1.15.2" />
</ItemGroup>
</Project>

View File

@ -25,8 +25,8 @@
<!-- Workaround https://github.com/dotnet/source-build/issues/1112. Source link is currently disabled in source build so define this dummy target which is required for pack. -->
<Import Condition="'$(DotNetBuildFromSource)' == 'true'" Project="WorkaroundsImported.targets" />
<!-- Workaround for https://github.com/dotnet/arcade/issues/204 -->
<ItemGroup>
<!-- Workaround for https://github.com/dotnet/arcade/issues/204, not needed in source build -->
<ItemGroup Condition="'$(DotNetBuildFromSource)' != 'true'">
<PackageReference Include="Internal.AspNetCore.BuildTasks" PrivateAssets="All" Version="$(InternalAspNetCoreBuildTasksPackageVersion)" IsImplicitlyDefined="true" />
</ItemGroup>