When I try to create a "view" share link using:
var create = await this.oneDriveClient.Drive.Items[uploadedItem.Id].CreateLink("view").Request().PostAsync();
I get an exception:
{"Could not load type 'Microsoft.Graph.BasePostMethodRequestBuilder1' from assembly 'Microsoft.Graph.Core, Version=1.2.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.":"Microsoft.Graph.BasePostMethodRequestBuilder1"}
I have updated the SDK and Microsoft.Graph.Core to the latest versions, but I'm still getting the error.
Please help.
Also, on a side-note, how do I set a timeout for uploading? I can upload small files, but if I try to upload anything over ~50MB, it gives a timeout error
When I try to create a "view" share link using:
var create = await this.oneDriveClient.Drive.Items[uploadedItem.Id].CreateLink("view").Request().PostAsync();
I get an exception:
{"Could not load type 'Microsoft.Graph.BasePostMethodRequestBuilder
1' from assembly 'Microsoft.Graph.Core, Version=1.2.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.":"Microsoft.Graph.BasePostMethodRequestBuilder1"}
I have updated the SDK and Microsoft.Graph.Core to the latest versions, but I'm still getting the error. Please help.
Also, on a side-note, how do I set a timeout for uploading? I can upload small files, but if I try to upload anything over ~50MB, it gives a timeout error
Thanks in advance