Prevent tests from importing "normal" NuGet props/targets (#80573)
authorSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Mon, 27 Feb 2023 21:08:08 +0000 (00:08 +0300)
committerGitHub <noreply@github.com>
Mon, 27 Feb 2023 21:08:08 +0000 (13:08 -0800)
commiteccbe90f0f3840fa0316adcce7aee38ab1016180
treec4be3d6491c2e7872ce62435d4aa88f699508df9
parent0c8bef562e4047d3d091e0f1703095286c3c9d04
Prevent tests from importing "normal" NuGet props/targets (#80573)

We import them manually from a shared location.

Usually this is not a problem because batch build (via the build script)
does its own restore thing, but it is a problem in case the project is
restored on its own, such as when it is built with "dotnet build".
src/tests/Directory.Build.props