todbot / win-hid-dump

Sort of a Windows version of `usbhid-dump` to show HID Report Descriptors
52 stars 10 forks source link

vs2019 reference could not be resolved. The assembly "HidSharp" could not be found. #4

Closed zhangzhoufei closed 3 years ago

zhangzhoufei commented 3 years ago

To use win-hid-dump, download the zip file from the Releases page, unzip it and run it. When vs2019 is running, the output is shown below.

Generation started... 1>------ Generation has started: Project: winhiddump, Configuration: Debug Any CPU ------ 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2202,5): warning MSB3245: This reference could not be resolved. The assembly "HidSharp" could not be found. Please check if the assembly exists on the disk. If your code requires this reference, a compilation error may occur. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3325,5): warning MSB3327: Cannot be in the current user’s Windows certificate store Locate the code signing certificate. To correct this problem, disable the signing of the ClickOnce manifest or install the certificate into the certificate store. 1>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(3325,5): error MSB3323: Cannot find manifest in certificate store Sign the certificate. ========== Generate: 0 succeeded, 1 failed, 0 latest, 0 skipped ==========

todbot commented 3 years ago

It sounds like you did not "Extra All" from the zip file. The HidSharp.dll library is included.

zhangzhoufei commented 3 years ago

听起来您没有从 zip 文件中选择“全部”。包括 HidSharp.dll 库。 Resolved, I am https://www.zer7.com/software/hidsharp Downloaded hidchart.dll Get what you want Thank you.