Only do signcheck if there are files to sign check

This commit is contained in:
Marc Paine 2022-02-17 14:20:45 -08:00
parent 2c17f40ecf
commit 290291a0da

View file

@ -52,7 +52,8 @@
<SignCheckWorkloadManifestMsiInputFiles Include="@(BundledManifestsToValidateSigning->'%(RestoredMsiPathInNupkg)')" /> <SignCheckWorkloadManifestMsiInputFiles Include="@(BundledManifestsToValidateSigning->'%(RestoredMsiPathInNupkg)')" />
</ItemGroup> </ItemGroup>
<Exec Command="$(SignCheckExe) ^ <Exec Condition="'@(SignCheckWorkloadManifestMsiInputFiles->Count())' != '0'"
Command="$(SignCheckExe) ^
--recursive ^ --recursive ^
-f UnsignedFiles ^ -f UnsignedFiles ^
-i @(SignCheckWorkloadManifestMsiInputFiles, ' ') ^ -i @(SignCheckWorkloadManifestMsiInputFiles, ' ') ^