PORTS Forum

Ports and Interfaces => USB => Topic started by: Tom Bryant on February 10, 2017, 07:07:15 pm

Title: Error while building Generic Hid
Post by: Tom Bryant on February 10, 2017, 07:07:15 pm
I am trying to build your GenericHid. When I do I get this error message.
can you please help.
Thanks

1>------ Build started: Project: GenericHid, Configuration: Release Any CPU ------
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2884,5): warning MSB3327: Unable to find code signing certificate in the current user’s Windows certificate store. To correct this, either disable signing of the ClickOnce manifest or install the certificate into the certificate store.
1>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(2884,5): error MSB3323: Unable to find manifest signing certificate in the certificate store.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Title: Re: Error while building Generic Hid
Post by: Jan Axelson on February 10, 2017, 08:39:43 pm
Try this:

open the .csproj file in Notepad or another text editor and delete this information, which relates to the signing certificate:

<PropertyGroup>
<ManifestCertificateThumbprint>xxxxx xxxxxx</ManifestCertificateThumbprint>
<ManifestKeyFile>xxxxxxxx.pfx</ManifestKeyFile>
<GenerateManifests>true</GenerateManifests>
<SignManifests>false</SignManifests>
</PropertyGroup>
Title: Re: Error while building Generic Hid
Post by: Tom Bryant on February 11, 2017, 12:06:33 am

This  worked great. Thanks



Try this:

open the .csproj file in Notepad or another text editor and delete this information, which relates to the signing certificate:

<PropertyGroup>
<ManifestCertificateThumbprint>xxxxx xxxxxx</ManifestCertificateThumbprint>
<ManifestKeyFile>xxxxxxxx.pfx</ManifestKeyFile>
<GenerateManifests>true</GenerateManifests>
<SignManifests>false</SignManifests>
</PropertyGroup>