CommunityToolkit / CommunityToolkit/Graph-Controls
Does not support Microsoft Graph v5
- 主要语言
- C#
- 星标
- 156
- 派生
- 38
- PR 合并指标
- 30 天内没有已合并 PR
描述
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)
贡献指南
这个仓库没有索引到贡献指南
调研方向
使用附加的项目和列出的包版本,并采用 CTG5.cs 中的客户端 ID 设置,重现该故障。从报告的 TypeLoadException 开始跟踪 ProviderExtensions.GetClient,并检查 CommunityToolkit.Graph 与 Microsoft.Graph 5.56.0 的兼容性。当示例的“Do Stuff”操作在没有异常的情况下完成时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- csharp
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100