From: Owen Smith Date: Tue, 18 Apr 2023 08:50:45 +0000 (+0100) Subject: Rebuild CodeQL builds X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=7e721c76005e70f13363ad7027c62420ee140018;p=pvdrivers%2Fwin%2Fxeniface.git Rebuild CodeQL builds CodeQL can sometimes fail to detect any source code if the codebase is not rebuilt. Use the Rebuild target to force all intermediate build artifacts to be cleaned beforehand. Signed-off-by: Owen Smith --- diff --git a/msbuild.ps1 b/msbuild.ps1 index 5d479cb..8deda6a 100644 --- a/msbuild.ps1 +++ b/msbuild.ps1 @@ -98,7 +98,7 @@ Function Run-CodeQL { } $a = "msbuild.exe" $a += " /m:4" - $a += " /t:Build" + $a += " /t:Rebuild" $a += [string]::Format(" /p:Configuration=""{0}""", $Configuration) $a += [string]::Format(" /p:Platform=""{0}""", $Platform) $a += [string]::Format(" /p:SignMode=""{0}""", $SignMode)