❔ NuGet Package doesn't get recognized
I installed a NuGet Package, but when I now try to use it i get the attached error message
11 Replies
Am I maybe just missing something?
Tell me if you need more info
Name of the package != the namespace it uses
So look up the docs for this nuget and see what
using
you actually needThere isn't much documentation
He's got an example code though, but there he does use that same Name to include the library
Huh, seems like the namespace is correct
GitHub
NonInvasiveKeyboardHook/source/NonInvasiveKeyboardHook/NonInvasiveK...
A C# hotkey manager that uses a low level global hook, but allows registering for specific keys to reduce invasion of user privacy - NonInvasiveKeyboardHook/source/NonInvasiveKeyboardHook/NonInvasi...
But the way I did it would be correct if that would be the correct name of the namesoace?
yep
So you think too that this should work?
Also, make sure you use the correct package for your version of .NET
NonInvasiveKeyboardHookLibrary
is for .NET Framework, and NonInvasiveKeyboardHookLibrary.Core
is for .NET Core and, presumably, above
And, apparently, you're not the only person having issues with referencing the namespace: https://github.com/kfirprods/NonInvasiveKeyboardHook/issues/10hrmm
I already thought that this should be correct
I very rarely use NuGet Packages but it all semed correct to me
and that explains it
yeah
I'll look into that thx
@ZZZZZZZZZZZZZZZZZZZZZZZZZ I checked it now and the
NonInvasiveKeyboardHookLibrary.Fork
does the trickWas this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.