Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, August 4, 2016 1:18 PM
"One or more errors occured.
Could not add a reference to xxxxxxx as it is not of a type or version current project can use."
Hi, so I've been trying to add and use a dll to one of my projects.
I tried to follow this guide : https://msdn.microsoft.com/en-CA/library/ms235636.aspx
And also I tried to build and use this: https://github.com/signal11/hidapi (the windows/.sln file) which builds to a .dll successfully..
In both cases I end up with a successful built .dll,
but when I try to add the reference to my project. After selecting the dll, I get the error message mentioned on top. I have no idea what I'm doing wrong or how to fix this. Any help would be greatly appreciated
All replies (2)
Thursday, August 4, 2016 3:32 PM âś…Answered
To add a reference to a DLL, that DLL must be either a .NET DLL or a COM DLL. Not all DLL's can be referenced.
Thursday, August 4, 2016 4:19 PM
ahh ok thanks so much!