From 5f02e2f40af0012e20c33e6b8f2ec799d7635ef9 Mon Sep 17 00:00:00 2001
From: Michael Yanni <miyanni@microsoft.com>
Date: Mon, 25 Mar 2024 11:36:59 -0700
Subject: [PATCH] Using MicroBuildOutputFolderOverride to move the MicroBuild
 plugin install directory.

---
 .vsts-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.vsts-ci.yml b/.vsts-ci.yml
index 40a268589..8e4f528e5 100644
--- a/.vsts-ci.yml
+++ b/.vsts-ci.yml
@@ -34,6 +34,9 @@ variables:
       /p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
       /p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
 - template: /eng/common/templates-official/variables/pool-providers.yml
+# Set the MicroBuild plugin installation directory to the agent temp directory to avoid SDL tool scanning.
+- name: MicroBuildOutputFolderOverride
+  value: $(Agent.TempDirectory)
 
 resources:
   repositories: