OneDrive / onedrive-sdk-csharp

OneDrive SDK for C#! https://dev.onedrive.com
Other
293 stars 143 forks source link

Request() method throws exception #252

Closed marcnet80 closed 1 month ago

marcnet80 commented 4 years ago

The code samples didn't work, after packages updates (Newtonsoft.Json to 12.0.0.0 and Microsoft.Graph.Core to 1.18.0.0):

var item = await oneDriveClient
                     .Items[itemId]
                     .Request()
                     .GetAsync();

var item = await oneDriveClient
                     .Drive
                     .Root
                     .ItemWithPath("path/to/file/txt")
                     .Request()
                     .GetAsync();

Microsoft.OneDriveSDK Version : 2.0.7 Exception message:

Method not found: 'Void Microsoft.Graph.BaseRequest.set_SdkVersionHeaderPrefix(System.String)'.
baywet commented 1 month ago

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #259 for more information