8000 Reflection-based serialization has been disabled error on adding Account · Issue #432 · microsoft/devhomegithubextension · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Reflection-based serialization has been disabled error on adding Account #432

@dkbennett

Description

@dkbennett

Dev Home version

No response

Windows build number

No response

Other software

No response

Steps to reproduce the bug

Build release, add GitHubExtension and try to add account. Click on the button to launch the login UI.

Expected result

Browser launches.

Actual result

Something Went Wrong

[2024/08/16 11:34:08.722 ERR] (LoginUIController) Error:
System.InvalidOperationException: Reflection-based serialization has been disabled for this application. Either use the source generator APIs or explicitly configure the 'JsonSerializerOptions.TypeInfoResolver' property.
at System.Text.Json.ThrowHelper.ThrowInvalidOperationException_JsonSerializerIsReflectionDisabled()
at System.Text.Json.JsonSerializerOptions.ConfigureForJsonSerializer()
at System.Text.Json.JsonSerializer.GetTypeInfo(JsonSerializerOptions, Type)
at System.Text.Json.JsonSerializer.GetTypeInfoT
at System.Text.Json.JsonSerializer.Deserialize[TValue](String , JsonSerializerOptions )
at GitHubExtension.DeveloperId.LoginUIController.<>c__DisplayClass11_0.<b__0>d.MoveNext()

Included System Information

No response

Metadata

Metadata

Assignees

Labels

Area-Account-Sign-InRelated to authenticating your GitHub account or anything related to sign-inIssue-BugSomething isn't working or needs investigationPriority-0Bug that's considered release-blockingResolution-Fix-AvailableAvailable in a release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0