microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
Cannot get /me/drive/root
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 789
- Forks
- 264
- Avg merge
- 15h 17m
- Merged PRs (30d)
- 3
Description
Describe the bug
Cannot get /me/drive/root using the documented code snippet.
To Reproduce
Steps to reproduce the behavior:
- Add Microsoft.Graph version 5.8.0 to project file
- Add code snippet from README.md file to get /me/drive/root information;
var rootItem = await graphClient.Me.Drive.Root.GetAsync(); - IDE says:
CS1061: 'DriveRequestBuilder' does not contain a definition for 'Root' and no accessible extension method 'Root' accepting a first argument of type 'DriveRequestBuilder' could be found (are you missing a using directive or an assembly reference?)
Expected behavior
Graph library returns root item
Screenshots
N/A
Desktop (please complete the following information):
- OS: Windows
- Browser N/A
- Version 11
Additional context
I'm trying to upgrade from Graph library 3.x.x to latest version (5.8.0).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the README.md snippet and the Microsoft.Graph 5.8.0 API around graphClient.Me.Drive, then reproduce the CS1061 error from the issue. Compare the documented path with the available DriveRequestBuilder members; done means the documented example compiles and retrieves the /me/drive/root item.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100