Does not support Microsoft Graph v5
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Tái hiện lỗi với dự án đính kèm và các phiên bản package được liệt kê, sử dụng thiết lập client ID trong CTG5.cs. Truy vết ProviderExtensions.GetClient từ TypeLoadException đã được báo cáo và kiểm tra khả năng tương thích của CommunityToolkit.Graph với Microsoft.Graph 5.56.0. Hoàn thành khi hành động “Do Stuff” của sample chạy xong mà không xảy ra exception.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.<<CommunityToolkit_DoOneDriveStuffAsync>g__OnProviderStateChanged|2_0>d.MoveNext() in D:\sandbox\CommunityToolkit.Graph\CTG5.cs:line 40
Steps to Reproduce
Steps to reproduce the behavior:
- Unzip the attached project.
- Insert your client ID in CTG5.cs.
- Build and run.
- Click on 'Do Stuff' button.
- See exception.
Expected behavior
No exception.
Environment
NuGet Package(s):
<PackageReference Include="CommunityToolkit.Authentication.Msal" Version="7.1.4" />
<PackageReference Include="CommunityToolkit.Graph" Version="7.1.4" />
<PackageReference Include="Microsoft.Graph" Version="5.56.0" />
<PackageReference Include="Microsoft.Identity.Web.GraphServiceClient" Version="2.19.0" />
Windows 10 Build Number:
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
Device form factor:
- Desktop
Visual Studio
- 2022.10
## Project with error
[CommunityToolkit.Graph v5.zip](https://github.com/user-attachments/files/15709654/CommunityToolkit.Graph.v5.zip)
- Ngôn ngữ chính
- C#
- Star
- 156
- Fork
- 37
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CommunityToolkit/Graph-Controls
-
CommunityToolkit.Authentication.Msal use Microsoft Graph V4 but if you install V5,you cannot releaseĐang mởbug :bug: needs attention :wave: needs triage :mag:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
CommunityToolkit/Graph-Controls#208 · 20 bình luận ·
-
enhancement :sparkles:
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
-
Area: Providers
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
CommunityToolkit/Graph-Controls#195 · 1 bình luận ·
-
Area: Providers bug :bug:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CommunityToolkit/Graph-Controls#189 · 3 bình luận ·
-
Area: Providers documentation :page_with_curl: question :grey_question:
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
CommunityToolkit/Graph-Controls#188 · 6 bình luận ·
Tất cả issue của CommunityToolkit/Graph-Controls
Issue tương tự
-
[Core] IPlatformServices.PrefersDarkTheme: the desktop's theme as the signed-in user sees itĐang mởarea: core bug help wanted ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ZaidX88/sluice#265 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: remote bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Install a C# EnvironmentĐang mở📅 Sprint 4 Module-Tools Setup Submit:None 🦔 Size Tiny
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
CodeYourFuture/Module-Tools#712 ·
-
A: Mapping P3: Standard T: New Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
space-wizards/space-station-14#46878 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 60/100
CommunityToolkit/Windows#896 · 2 bình luận ·