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 77 <PropertyGroup >
88 <!-- The SignFiles target needs OutDir to be defined -->
99 <OutDir >$(BinDir)</OutDir >
10+ <DebuggingCert >MicrosoftSHA2</DebuggingCert >
1011 </PropertyGroup >
1112
1213 <UsingTask AssemblyFile =" $(BuildToolsTaskDir)Microsoft.DotNet.Build.Tasks.dll" TaskName =" ReadSigningRequired" />
3536 Managed assemblies should already have a requires_signing file dropped so only generate
3637 a requires_signing file for ones that don't exist which should leave just native assembies
3738 -->
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+
3846 <WriteSigningRequired AuthenticodeSig =" $(AuthenticodeSig)"
3947 MarkerFile =" %(WindowsNativeLocation.Identity).requires_signing"
4048 Condition =" !Exists('%(WindowsNativeLocation.Identity).requires_signing')" />
49+
50+ <WriteSigningRequired AuthenticodeSig =" $(DebuggingCert)"
51+ MarkerFile =" %(SpecialDebuggingDlls.Identity).requires_signing"
52+ Condition =" !Exists('%(SpecialDebuggingDlls.Identity).requires_signing')" />
4153 </Target >
4254
4355 <!-- populates item group FilesToSign with the list of files to sign -->
6375 <Delete Files =" @(SignMarkerFile)" />
6476 </Target >
6577
66- </Project >
78+ </Project >
You can’t perform that action at this time.
0 commit comments