C
C#10mo 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
Angius10mo 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
BramboOP10mo ago
correct
Angius
Angius10mo ago
Download the package fron Nuget, open the nupkg file with 7zip or something, and get the DLL from there
Brambo
BramboOP10mo ago
OH, the nupkg file has all the files i need? i just assumed it was similar to a pip install thing
Angius
Angius10mo ago
Yeah
Brambo
BramboOP10mo ago
that is exactly what i needed to know ty sleepy person
Angius
Angius10mo ago
Just make sure it will even work with the version of .NET this bot... thingy uses
Angius
Angius10mo ago
I see a concerning amount of 4.0.x here
No description
Brambo
BramboOP10mo ago
i think it uses 4.2 and the version i grabbed is for 4.2
Angius
Angius10mo ago
Good luck, then
No description
Brambo
BramboOP10mo 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