Don't check for UWP files while signing in arm64
authorJC Aguilera <juanam@microsoft.com>
Fri, 15 Sep 2017 21:48:17 +0000 (14:48 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Sep 2017 21:48:17 +0000 (14:48 -0700)
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

src/installer/signing/sign.proj

index b228318..8d8d0d8 100644 (file)
@@ -76,7 +76,7 @@
         <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">