Skip to content

Commit cb5458e

Browse files
author
Nate McMaster
committed
Exclude ancm.mof from code signing
This file is not signable. The sign tool treats .mof as a potential signing candidate by default, even though most .mof files are not signable.
1 parent 6402a6a commit cb5458e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build/CodeSign.props

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@
7171
<FilesToSign Include="aspnetcorev2_inprocess.dll" Certificate="$(AssemblySigningCertName)" Container="Microsoft.AspNetCore.App" />
7272
<FilesToSign Include="aspnetcorev2_outofprocess.dll" Certificate="$(AssemblySigningCertName)" Container="Microsoft.AspNetCore.App" />
7373

74+
<!-- This is a text file which doesn't need to be code signed, even though some .mof files can be signed. -->
75+
<FilesToExcludeFromSigning Include="ancm.mof" />
76+
7477
<!-- These files came from partner teams. They have to be re-signed because we crossgen them and redistributable them in our installers. -->
7578

7679
<!-- Microsoft.AspNetCore.All -->

0 commit comments

Comments
 (0)