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=465a250c7e7d488aba0edd686e21414f09084568;p=pvdrivers%2Fwin%2Fxencons.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 e3b87a0..5ab158d 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)