This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 7
7
<PropertyGroup >
8
8
<!-- The SignFiles target needs OutDir to be defined -->
9
9
<OutDir >$(BinDir)</OutDir >
10
+ <DebuggingCert >MicrosoftSHA2</DebuggingCert >
10
11
</PropertyGroup >
11
12
12
13
<UsingTask AssemblyFile =" $(BuildToolsTaskDir)Microsoft.DotNet.Build.Tasks.dll" TaskName =" ReadSigningRequired" />
35
36
Managed assemblies should already have a requires_signing file dropped so only generate
36
37
a requires_signing file for ones that don't exist which should leave just native assembies
37
38
-->
39
+ <ItemGroup >
40
+ <!-- The DAC requires special signing for !analyze/watson to work properly. -->
41
+ <SpecialDebuggingDlls Include =" $(BinDir)$(CrossTargetComponentFolder)/mscordaccore*.dll" />
42
+ <SpecialDebuggingDlls Include =" $(BinDir)mscordaccore*.dll" />
43
+ <WindowsNativeLocation Remove =" @(SpecialDebuggingDlls)" />
44
+ </ItemGroup >
45
+
38
46
<WriteSigningRequired AuthenticodeSig =" $(AuthenticodeSig)"
39
47
MarkerFile =" %(WindowsNativeLocation.Identity).requires_signing"
40
48
Condition =" !Exists('%(WindowsNativeLocation.Identity).requires_signing')" />
49
+
50
+ <WriteSigningRequired AuthenticodeSig =" $(DebuggingCert)"
51
+ MarkerFile =" %(SpecialDebuggingDlls.Identity).requires_signing"
52
+ Condition =" !Exists('%(SpecialDebuggingDlls.Identity).requires_signing')" />
41
53
</Target >
42
54
43
55
<!-- populates item group FilesToSign with the list of files to sign -->
63
75
<Delete Files =" @(SignMarkerFile)" />
64
76
</Target >
65
77
66
- </Project >
78
+ </Project >
You can’t perform that action at this time.
0 commit comments