From b18a7a13d212e551e288d0337f958dc46450f33e Mon Sep 17 00:00:00 2001 From: Will Speak Date: Mon, 5 Aug 2024 12:04:52 +0100 Subject: [PATCH] respect DOTNET_HOST_PATH if set The variable `DOTNET_HOST_PATH` is used by `dotnet` to expose the path to the current invocation of the host. Tools should use it when making nested calls. --- MinVer/build/MinVer.targets | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/MinVer/build/MinVer.targets b/MinVer/build/MinVer.targets index bff32d51..747d9974 100644 --- a/MinVer/build/MinVer.targets +++ b/MinVer/build/MinVer.targets @@ -19,6 +19,11 @@ $(NoWarn);NU5105 + + $(DOTNET_HOST_PATH) + dotnet + + @@ -51,7 +56,7 @@ - +