Author Topic: Error while building Generic Hid  (Read 11705 times)

Tom Bryant

  • Member
  • ***
  • Posts: 2
Error while building Generic Hid
« 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 ==========

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Error while building Generic Hid
« Reply #1 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>

Tom Bryant

  • Member
  • ***
  • Posts: 2
Re: Error while building Generic Hid
« Reply #2 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>