From f45ea3337775fa8fb2c75b0fb5176de7998ed25d Mon Sep 17 00:00:00 2001 From: Patrick Stevens <3138005+Smaug123@users.noreply.github.com> Date: Mon, 26 Feb 2024 21:17:49 +0000 Subject: [PATCH] Add CompileBefore to Git untracked files consideration --- .../build/Microsoft.Build.Tasks.Git.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets b/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets index e07a4d84..ecb833ab 100644 --- a/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets +++ b/src/Microsoft.Build.Tasks.Git/build/Microsoft.Build.Tasks.Git.targets @@ -50,7 +50,7 @@ RepositoryId="$(_GitRepositoryId)" ConfigurationScope="$(GitRepositoryConfigurationScope)" ProjectDirectory="$(MSBuildProjectDirectory)" - Files="@(Compile)" + Files="@(CompileBefore);@(Compile)" Condition="'$(_GitRepositoryId)' != ''">