0

I've just installed Visual Studio Community and wanted to have a play around with C# (.net 6 LTS) and the graph API. I've created a winform for this purpose.

I've looked at the documentation and can see i need to install the SDK via nuget, but when i'm searching the repository i can't seem to see it.

Am i doing something silly?

3
  • 1
    If you search for Microsoft.Graph in the Nuget Package Manager within Visual Studio, you'll be able to find the needed package. Is this what you need ? nuget.org/packages/Microsoft.Graph Commented Nov 1, 2022 at 13:11
  • is it, but it doesn't show up. I'm going to Project > Manage NuGet Packagies, Switch to Browse and then use the search. Using Graph or Microsoft.Graph gives no results. Commented Nov 1, 2022 at 13:30
  • Interestingly, under package source there is only visual studio offline packages Commented Nov 1, 2022 at 13:31

1 Answer 1

1

It would seem the default install didn't include the online nuget packages. so i spotted an image on another site with the package source. Add it and can now see the packages as expected.

nuget.org package source

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.