UWP is not supported in arm64, hence do not check for the existence of files to sign if the RID is win-arm64
Commit migrated from https://github.com/dotnet/core-setup/commit/
b84bbe8844fcd641fd3526ed9c182ddcf9f1b2f7
<Authenticode>Appx</Authenticode>
</FilesToSign>
</ItemGroup>
- <Error Condition="'@(FilesToSign)' == ''" Text="There are no files to sign. FilesToSign group is empty."/>
+ <Error Condition="'@(FilesToSign)' == '' AND '$(TargetRid)' != 'win-arm64'" Text="There are no files to sign. FilesToSign group is empty."/>
</Target>
<Target Name="SignMsiAndCab" DependsOnTargets="GetSignMsiAndCabFiles">