2 <Import Project="..\dir.common.props"/>
5 <ItemsToSign Include="$(BinDir)*.dll" />
6 <ItemsToSign Include="$(BinDir)*.exe" />
10 <FileSignInfo Include="mscordaccore.dll" CertificateName="MicrosoftSHA2" />
13 <ItemGroup Condition="'$(BuildArch)' == 'x86'">
14 <!-- Sign api-ms-win-core-xstate-l2-1-0 binary as it is only catalog signed in the current SDK. -->
15 <ItemsToSign Condition="'$(BuildType)'=='Release'" Include="$(BinDir)Redist\ucrt\DLLs\$(BuildArch)\api-ms-win-core-xstate-l2-1-0.dll" />
18 <!-- sign the cross targeted files as well -->
19 <ItemGroup Condition="'$(CrossTargetComponentFolder)' != ''">
20 <ItemsToSign Include="$(BinDir)$(CrossTargetComponentFolder)/*.dll" />
21 <ItemsToSign Include="$(BinDir)$(CrossTargetComponentFolder)/*.exe" />
24 <Target Name="ValidateSignFileListIsNotEmpty" BeforeTargets="Sign">
25 <Error Condition="'@(ItemsToSign)' == ''" Text="List of files to sign is empty" />
26 <Message Importance="High" Text="Attempting to sign %(ItemsToSign.Identity)" />