openvr icon indicating copy to clipboard operation
openvr copied to clipboard

Cannot reference dll file in my project.

Open Auden-Clifford opened this issue 2 years ago • 0 comments

I'm trying to create a VR game using the MonoGame framework and have decided to use OpenVR to communicate with my headset since it works best with Valve headsets. The problem I encountered is that when I tried to reference the win64 dll file in my project Visual Studio gave me an error stating "The reference is invalid or unsupported."

I'm pretty new to using APIs in general, so it's possible that I'm doing something wrong, but everything I've read online says that what I'm doing is correct. I even tried the win32 version just to be sure I wasn't misremembering my system and had the same issue. My project is in C# and not C++ like OpenVR (if I understand things correctly). However, others have used this API with the same framework and the same coding language, so as far as I know, this should still work. Is there something special I have to do to reference this API in a C# project or have I encountered a bug? let me know what kind of additional info might be needed to diagnose the problem.

Auden-Clifford avatar Oct 27 '23 00:10 Auden-Clifford