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
Is the library available on Nuget?
It is, yes.
Then run
dotnet add package name-of-library
in your project directory
That handles everything for you
Including dependenciesThat seems to have done it, thanks.
/solved
/close
, Ach! I keep thinking it's like in the C/C++ server.
✅ This post has been marked as answered!