C
C#2mo ago
Kushiwushi

✅ NuGet package doesn't exist in current context

So I recently just installed a NuGet package and tried to call(? idk what to call it) a "function" of the NuGet package I installed but it says that it doesn't exist in the current context, I don't really know how to explain it better but the screenshots can. Please take a look
No description
No description
40 Replies
Kushiwushi
KushiwushiOP2mo ago
2nd screenshot shows that yes the NuGet package is indeed installed
FusedQyou
FusedQyou2mo ago
Missing using statement?
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
adding
using InputSimulator;
using InputSimulator;
doesn't change anything
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
i tried copy pasting directly from an example which still did not work
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
direcly from their github
Kushiwushi
KushiwushiOP2mo ago
GitHub
GitHub - michaelnoonan/inputsimulator: Windows Input Simulator (C# ...
Windows Input Simulator (C# SendInput Wrapper - Simulate Keyboard and Mouse) - michaelnoonan/inputsimulator
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
its the same nuget package
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
this part right here
No description
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX2mo ago
Kushiwushi
adding
using InputSimulator;
using InputSimulator;
doesn't change anything
React with ❌ to remove this embed.
Kushiwushi
KushiwushiOP2mo ago
i meaaaannnnnn
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
i copied this part directly
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
and it didn't work even if i had it installed soooooo
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
idk i don't understand what you're saying
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
the namespace is
InputSimulator
InputSimulator
is it not? i have another nuget package named
Newtonsoft.Json
Newtonsoft.Json
which works perfectly fine
using Netwonsoft.Json;
using Netwonsoft.Json;
works fine
using InputSimulator;
using InputSimulator;
does not
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
ohhhhh
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
yea i see it its called WindowsInput
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
the one who made the nuget package just made it a bit difficult xD
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
i just assumed that its namespace was InputSimulator because why the fuck would I assume it would be called WindowsInput
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
bwahahahsdhahd okay anyways thanks for helping
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
chatgpt probably can't solve this shit so thanks once again ^^
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
MODiX
MODiX2mo ago
How trustworthy is chatgpt for counting letters? Now consider how bad will it be for code, since asking for code often means one cannot fully understand the code and just copy/paste it. Please don't be surprised that it doesn't build/doesn't exist/crash/bug/etc. .... See also: https://futurism.com/the-byte/study-chatgpt-answers-wrong https://cdn.discordapp.com/attachments/569261465463160900/1274310384244756542/image0.jpg
Unknown User
Unknown User2mo ago
Message Not Public
Sign In & Join Server To View
Kushiwushi
KushiwushiOP2mo ago
yes i already know that chatgpt is just an llm trying to make up believable stuff, that's why i went here ^^ i dont really plan on relying on gpt
Want results from more Discord servers?
Add your server