From 3935f528c92da7e8f951f43dc1c30f1011524fbc Mon Sep 17 00:00:00 2001 From: SingleAccretion Date: Thu, 12 Jan 2023 22:47:53 +0300 Subject: [PATCH] Prevent tests from importing "normal" NuGet props/targets 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 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/tests/Directory.Build.props b/src/tests/Directory.Build.props index 281c43fd390f0..04d449f1c5188 100644 --- a/src/tests/Directory.Build.props +++ b/src/tests/Directory.Build.props @@ -196,6 +196,10 @@ true Exe GeneratedRunner + + + false + false