CommunityToolkit / CommunityToolkit/Graph-Controls
Does not support Microsoft Graph v5
- Lingua principale
- C#
- Stelle
- 156
- Fork
- 38
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Does CommunityToolkit still support the Graph-Controls library?
If so, it would be great if it could be updated to support Microsoft Graph v5.
## Describe the bug
`ProviderManager.Instance.GlobalProvider.GetClient()` throws `TypeLoadException`.
````
System.TypeLoadException
HResult=0x80131522
Message=Could not load type 'Microsoft.Graph.AuthenticateRequestAsyncDelegate' from assembly 'Microsoft.Graph.Core, Version=3.1.12.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source=CommunityToolkit.Graph
StackTrace:
at CommunityToolkit.Graph.Extensions.ProviderExtensions.GetClient(IProvider provider)
at CTG5.CTGraph.<g__OnProviderStateChanged|2_0>d.MoveNext() in D:\sandbox\CommunityToolkit.Graph\CTG5.cs:line 40
````
## Steps to Reproduce
Steps to reproduce the behavior:
1. Unzip the attached project.
2. Insert your client ID in CTG5.cs.
3. Build and run.
4. Click on 'Do Stuff' button.
5. See exception.
## Expected behavior
No exception.
## Environment
NuGet Package(s):
````
````
Windows 10 Build Number:
`net8.0-windows10.0.19041.0`
Device form factor:
- [x] Desktop
Visual Studio
- [x] 2022.10
```
## Project with error
[CommunityToolkit.Graph v5.zip](https://github.com/user-attachments/files/15709654/CommunityToolkit.Graph.v5.zip)
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Riproduci il problema con il progetto allegato e le versioni dei pacchetti indicate, usando la configurazione dell'ID client in CTG5.cs. Traccia ProviderExtensions.GetClient a partire dalla TypeLoadException segnalata e verifica la compatibilità di CommunityToolkit.Graph con Microsoft.Graph 5.56.0. Il lavoro è completato quando l'azione “Do Stuff” dell'esempio viene completata senza l'eccezione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100