My VISX sign tool version is 16.0.29116.78
Chris
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I am trying to sign a VISX file that was created in Visual Studio 2019.
My VISX sign tool version is 16.0.29116.78
My command line is as follows
vsixsigntool.exe sign /v /f "C:\CodeSigning\Tools\my.pfx" /p password /sha1 "33 5d 72 5a 26 6b 7c c1 d5 6c 48 f4 de 46 d2 20 6e c5 53 cd" /t "http://timestamp.digicert.com" C:\Projects\CodeSigning\SampleVSIXPackage\bin\Debug\SampleVSIXPackage.vsix
The output is simply
Server time: Mon Jan 11 10:46:31 2021
VsixSignTool Error: Could not sign package "C:\Projects\CodeSigning\Sample Files to sign\VSIX\SampleVSIXPackage.vsix": Error Code - 80510029.
Error Message: "Unknown error 0x80510029".
Number of files successfully Signed: 0
Number of errors: 1
I have no idea what to do now.
The only reference to the error is https://www.hresult.info/FACILITY_OPC/0x80510029 or https://learn.microsoft.com/en-us/windows/win32/api/msopc/nf-msopc-iopcdigitalsignatureenumerator-getcurrent
Both refer to the same message which is
OPC_E_DS_MISSING_SIGNATURE_TIME_PROPERTY
0x80510029
The SignatureProperty element with the Id attribute value of "idSignatureTime" does not exist or is not correctly constructed.
The VISX was created by the Visual Studio New Project wizard, VisX project and simply compiled.
Any ideas of how to debug this?
The extension.vsixmanifest file contains the following
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata>
<Identity Id="SampleVSIXPackage.cb802016-9d17-488a-a46f-4a7721e39ea0" Version="1.0" Language="en-US" Publisher="Chris" />
<DisplayName>SampleVSIXPackage</DisplayName>
<Description>Empty VSIX Project.</Description>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Enterprise" Version="[16.0, 17.0)" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[16.0,17.0)" DisplayName="Visual Studio core editor" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" Path="SampleVSIXPackage.pkgdef" />
</Assets>
</PackageManifest>
Chris
My VISX sign tool version is 16.0.29116.78
Chris
I installed the VISX package from NuGet
In my packages folder this is the folder that is created
Microsoft.VSSDK.VsixSignTool.16.2.29116.78
Below is the file version properties of the vsixsigntool.exe contained within that folder.
Here are several suggestions, please help to try and response the result.
1 please download the latest version"16.2.29116.78" of the VsixSignTool from following link and sign again
https://www.nuget.org/packages/Microsoft.VSSDK.Vsixsigntool
2 please try following command the singe the extension
vsixsigntool.exe sign /v /f "C:\CodeSigning\Tools\my.pfx" /p password C:\Projects\CodeSigning\SampleVSIXPackage\bin\Debug\SampleVSIXPackage.vsix