[Tizen] Unify dnetmemoryenumlib terms to match the codebase (#291)
[platform/upstream/coreclr.git] / eng / Signing.props
1 <Project>
2   <Import Project="..\dir.common.props"/>
3   
4   <ItemGroup>
5     <ItemsToSign Include="$(BinDir)*.dll" />
6     <ItemsToSign Include="$(BinDir)*.exe" />
7   </ItemGroup>
8
9   <ItemGroup>
10     <FileSignInfo Include="mscordaccore.dll" CertificateName="MicrosoftSHA2" />
11   </ItemGroup>
12
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" />
16   </ItemGroup>
17
18   <!-- sign the cross targeted files as well -->
19   <ItemGroup Condition="'$(CrossTargetComponentFolder)' != ''">
20     <ItemsToSign Include="$(BinDir)$(CrossTargetComponentFolder)/*.dll" />
21     <ItemsToSign Include="$(BinDir)$(CrossTargetComponentFolder)/*.exe" />
22   </ItemGroup>
23
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)" />
27   </Target>
28 </Project>