Tools.props 622 B

123456789101112
  1. <Project>
  2. <ItemGroup>
  3. <!--
  4. This is here to workaround flakiness in the NuGet SDK resolver in MSBuild.
  5. Arcade will run a pre-restore for these packages. This works more consistently than the SDK resolution which uses global.json.
  6. Without this here, we see regular failures with 'error MSB4236: The SDK 'Yarn.MSBuild' specified could not be found.'
  7. Since this project is evaluated before .npmproj files are loaded, this should cause the package to end
  8. up in the NuGet cache ahead of time.
  9. -->
  10. <PackageReference Include="Yarn.MSBuild" Version="1.15.2" />
  11. </ItemGroup>
  12. </Project>