Skip to content

Commit a9b4f85

Browse files
committed
Explicitly set CodeSign=true
1 parent 1f88573 commit a9b4f85

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
<AzureKeyVaultClientId>6a27a2da-bb78-4baa-bd2b-150fe89ea039</AzureKeyVaultClientId>
2727
<AzureKeyVaultClientSecret>$(KEYVAULT_CLIENT_SECRET)</AzureKeyVaultClientSecret>
2828
<CodeSignCertName>DigiCertCodeSign</CodeSignCertName>
29-
<CodeSign>false</CodeSign>
3029

3130
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
3231
<GenerateFullPaths Condition="'$(VSCODE_PID)' != ''">true</GenerateFullPaths>

build.ps1

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,10 @@ if ($CodeSign) {
5353
Expand-Archive "$nstDir/NuGetKeyVaultSignTool.zip" -DestinationPath $nstDir
5454
}
5555

56+
$MSBuildArgs += '-p:CodeSign=true'
5657
$MSBuildArgs += "-p:AzureSignToolPath=$AzureSignToolPath"
5758
$MSBuildArgs += "-p:NuGetKeyVaultSignTool=$NuGetKeyVaultSignTool"
5859
}
59-
else {
60-
$MSBuildArgs += '-p:CodeSign=false'
61-
}
6260

6361
$artifacts = "$PSScriptRoot/artifacts/"
6462

0 commit comments

Comments
 (0)