Only do signcheck if there are files to sign check
This commit is contained in:
parent
93495001d5
commit
b269da2525
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,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, ' ') ^
|
||||||
|
|
Loading…
Reference in a new issue