C
C#3y ago
LukeJ

Adding a library [Answered]

Hello. I very rarely work in the console, but now I've started doing so I've found myself needing to add a library. I can't for the life of me figure out how to do so, though. I keep seeing to add the dll in the references, but I don't see any reference file in my solution. As far as I can tell I just don't have one in this project. What am I missing here?
7 Replies
Thinker
Thinker3y ago
Is the library available on Nuget?
LukeJ
LukeJOP3y ago
It is, yes.
Thinker
Thinker3y ago
Then run dotnet add package name-of-library in your project directory That handles everything for you Including dependencies
LukeJ
LukeJOP3y ago
That seems to have done it, thanks. /solved
Thinker
Thinker3y ago
/close, catsip
LukeJ
LukeJOP3y ago
Ach! I keep thinking it's like in the C/C++ server.
Accord
Accord3y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server