C
C#9mo ago
Brambo

[Stupid Question] How do I download a dot net package without a project?

I'm a complete noob with no real experience with C# I want to download the gsheet API for Streamer bot (https://developers.google.com/api-client-library/dotnet/apis/sheets/v4) I just want to reference it for streamer bot only.
How do I download/build the package for use within streamer bot. for those that don't use it, streamer bot allows you to reference dot net dll's to use within it's code execution thank you
No description
11 Replies
Angius
Angius9mo ago
What do you mean "without a project"? C# and .NET don't work without a project Unless you're running some quick script in a REPL or something Ah, it's some weird thing that uses C# as a scripting language or something...?
Brambo
BramboOP9mo ago
correct
Angius
Angius9mo ago
Download the package fron Nuget, open the nupkg file with 7zip or something, and get the DLL from there
Brambo
BramboOP9mo ago
OH, the nupkg file has all the files i need? i just assumed it was similar to a pip install thing
Angius
Angius9mo ago
Yeah
Brambo
BramboOP9mo ago
that is exactly what i needed to know ty sleepy person
Angius
Angius9mo ago
Just make sure it will even work with the version of .NET this bot... thingy uses
Angius
Angius9mo ago
I see a concerning amount of 4.0.x here
No description
Brambo
BramboOP9mo ago
i think it uses 4.2 and the version i grabbed is for 4.2
Angius
Angius9mo ago
Good luck, then
No description
Brambo
BramboOP9mo ago
ahh, yes 4.6.2 big difference well, that's a whole other problem i will just have to work around that one .NET Framework 4.7.2. is the version it uses, not sure why the references go to 4.0
Want results from more Discord servers?
Add your server