microsoft / microsoft/microsoft-ui-xaml

The code generated by XAML (XamlTypeInfo.g.cs) triggers the SYSLIB0050 warning

Open
#10,577 3 comments 0 reactions 0 assignees View on GitHub
area-XamlCompiler bug needs-repro team-Core
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

The code generated by XAML (XamlTypeInfo.g.cs) triggers the SYSLIB0050 warning

##### -----------------------------

XAML 生成的代码(XamlTypeInfo.g.cs)触发 SYSLIB0050 警告

![Image](https://github.com/user-attachments/assets/8bffd19f-4072-42e4-8d4d-5dd53f9e9dce)

![Image](https://github.com/user-attachments/assets/3f4eab62-4f5f-48b8-b2b2-5fa114397052)

### Steps to reproduce the bug

See description

### Expected behavior

See description

### Screenshots

See description

### NuGet package version

WinUI 3 - Windows App SDK 1.7.2: 1.7.250513003

### Windows version

Windows 11 (24H2): Build 26100

### Additional context

None

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the warning with WinUI 3 Windows App SDK 1.7.2 and inspect the generated XamlTypeInfo.g.cs file mentioned in the report. Trace which XAML generation entry point produces the SYSLIB0050 warning; done means the generated code no longer emits that warning under the reported environment.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.